# #2f42b0 color: Denim

#2f42b0 is rgb(47, 66, 176) in RGB and oklch(43.647% 0.17534 269.879) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #2f42b0 |
| RGB | rgb(47, 66, 176) |
| HSL | hsl(231.16, 57.85%, 43.73%) |
| HSB / HSV | hsv(231.16 73.3% 69.02%) |
| HWB | hwb(231.16 18.43% 30.98%) |
| CMYK | cmyk(73% 63% 0% 31%) |
| Lab | lab(32.19 23.61 -62.11) |
| LCH | lch(32.19 66.45 290.81) |
| OKLab | oklab(43.647% -0.00037 -0.17534) |
| OKLCH | oklch(43.647% 0.17534 269.879) |
| Display P3 | color(display-p3 0.19983 0.25674 0.66499) |
| Rec. 2020 | color(rec2020 0.19772 0.20356 0.62369) |
| Adobe RGB | color(a98-rgb 0.22014 0.26629 0.67297) |
| ProPhoto RGB | color(prophoto-rgb 0.26895 0.21452 0.58643) |
| Linear sRGB | color(srgb-linear 0.02843 0.05448 0.43415) |
| XYZ D65 | color(xyz-d65 0.10956 0.07635 0.41972) |
| XYZ D50 | color(xyz-d50 0.0955 0.0717 0.31571) |
| SwiftUI | Color(red: 0.184, green: 0.259, blue: 0.69) |
| UIKit | UIColor(red: 0.184, green: 0.259, blue: 0.69, alpha: 1) |
| Flutter / Compose | Color(0xFF2F42B0) |
| Android XML | #2F42B0 |

## 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.31:1
- Contrast with black: 2.53:1

## Tints

#2f42b0, #4057b9, #526ac2, #657dcb, #798fd4, #8ea2dc, #a4b4e3, #bac7eb, #d1d9f2, #e8ecf9

## Shades

#2f42b0, #273899, #202f82, #19256c, #121c56, #0c1442, #060b2e, #03051c, #01010b, #000001

## Tones

#2f42b0, #3245a7, #35489e, #384b94, #3b4d8b, #3f4e82, #424f78, #46506f, #4a5165, #4e515c

## Harmonies

- Complementary: #2f42b0, #694d00
- Split: #2f42b0, #813c00, #4a5a00
- Analogous: #2f42b0, #00578f, #632ea1
- Triadic: #2f42b0, #9b0800, #00671a
- Tetradic: #2f42b0, #821b7e, #694d00, #00671a
- Square: #2f42b0, #96034e, #694d00, #006353
- Monochromatic: #2f42b0, #090057, #171989, #4d67d9, #6e8dff

## Questions about #2f42b0

### What color is #2f42b0?

#2f42b0 is soft dark blue. The closest named color is Denim. In RGB it is rgb(47, 66, 176), in HSL hsl(231.16, 57.85%, 43.73%) and in OKLCH oklch(43.647% 0.17534 269.879).

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

The complementary color of #2f42b0 is #694d00. For a calmer combination use the analogous colors #00578f and #632ea1. The triadic partners are #9b0800 and #00671a.

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

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

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

#2f42b0 is a cool color. In OKLCH its hue is 270 degrees, its lightness 43.6% and its chroma 0.175.
