# #2d40ac color: Denim

#2d40ac is rgb(45, 64, 172) in RGB and oklch(42.814% 0.17296 269.717) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/2d40ac

## Formats

| Format | Value |
| --- | --- |
| HEX | #2d40ac |
| RGB | rgb(45, 64, 172) |
| HSL | hsl(231.02, 58.53%, 42.55%) |
| HSB / HSV | hsv(231.02 73.84% 67.45%) |
| HWB | hwb(231.02 17.65% 32.55%) |
| CMYK | cmyk(74% 63% 0% 33%) |
| Lab | lab(31.25 23.3 -61.26) |
| LCH | lch(31.25 65.55 290.82) |
| OKLab | oklab(42.814% -0.00085 -0.17296) |
| OKLCH | oklch(42.814% 0.17296 269.717) |
| Display P3 | color(display-p3 0.19206 0.2489 0.64979) |
| Rec. 2020 | color(rec2020 0.18933 0.19542 0.60722) |
| Adobe RGB | color(a98-rgb 0.21309 0.25904 0.65751) |
| ProPhoto RGB | color(prophoto-rgb 0.2605 0.20752 0.56996) |
| Linear sRGB | color(srgb-linear 0.02624 0.05127 0.41254) |
| XYZ D65 | color(xyz-d65 0.10361 0.07203 0.39875) |
| XYZ D50 | color(xyz-d50 0.09022 0.0676 0.29994) |
| SwiftUI | Color(red: 0.176, green: 0.251, blue: 0.675) |
| UIKit | UIColor(red: 0.176, green: 0.251, blue: 0.675, alpha: 1) |
| Flutter / Compose | Color(0xFF2D40AC) |
| Android XML | #2D40AC |

## Facts

- Closest name: Denim
- Hue family: Blue, soft dark blue
- Closest Tailwind class: blue-800
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 8.6:1
- Contrast with black: 2.44:1

## Tints

#2d40ac, #3e55b6, #5068bf, #647bc8, #788ed1, #8da1da, #a3b3e2, #b9c6ea, #d0d9f1, #e7ecf8

## Shades

#2d40ac, #263695, #1f2d7f, #182469, #111b54, #0b1340, #060b2d, #02051b, #01010b, #000001

## Tones

#2d40ac, #3043a3, #33469a, #364991, #394a88, #3d4c7f, #404d75, #444e6c, #484f63, #4b4f59

## Harmonies

- Complementary: #2d40ac, #664b00
- Split: #2d40ac, #7e3a00, #485800
- Analogous: #2d40ac, #00558c, #602d9e
- Triadic: #2d40ac, #980500, #006418
- Tetradic: #2d40ac, #7f197b, #664b00, #006418
- Square: #2d40ac, #92014c, #664b00, #006051
- Monochromatic: #2d40ac, #080053, #151785, #4b65d4, #6c8bfe

## Questions about #2d40ac

### What color is #2d40ac?

#2d40ac is soft dark blue. The closest named color is Denim. In RGB it is rgb(45, 64, 172), in HSL hsl(231.02, 58.53%, 42.55%) and in OKLCH oklch(42.814% 0.17296 269.717).

### What colors go well with #2d40ac?

The complementary color of #2d40ac is #664b00. For a calmer combination use the analogous colors #00558c and #602d9e. The triadic partners are #980500 and #006418.

### Is white or black text more readable on #2d40ac?

White text reads better on #2d40ac: white gives a contrast ratio of 8.6:1 and black gives 2.44:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #2d40ac a warm or cool color?

#2d40ac is a cool color. In OKLCH its hue is 270 degrees, its lightness 42.8% and its chroma 0.173.
