# #1f5ea6 color: Drakenhof Nightshade

#1f5ea6 is rgb(31, 94, 166) in RGB and oklch(48.15% 0.13177 254.579) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/1f5ea6

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f5ea6 |
| RGB | rgb(31, 94, 166) |
| HSL | hsl(212, 68.53%, 38.63%) |
| HSB / HSV | hsv(212 81.33% 65.1%) |
| HWB | hwb(212 12.16% 34.9%) |
| CMYK | cmyk(81% 43% 0% 35%) |
| Lab | lab(38.97 0.8 -45.28) |
| LCH | lch(38.97 45.29 271.01) |
| OKLab | oklab(48.15% -0.03504 -0.12703) |
| OKLCH | oklch(48.15% 0.13177 254.579) |
| Display P3 | color(display-p3 0.19359 0.36344 0.63068) |
| Rec. 2020 | color(rec2020 0.21519 0.30484 0.5875) |
| Adobe RGB | color(a98-rgb 0.23577 0.36945 0.63648) |
| ProPhoto RGB | color(prophoto-rgb 0.27485 0.29317 0.55224) |
| Linear sRGB | color(srgb-linear 0.0137 0.11193 0.38133) |
| XYZ D65 | color(xyz-d65 0.1145 0.11049 0.37607) |
| XYZ D50 | color(xyz-d50 0.10365 0.10641 0.28336) |
| SwiftUI | Color(red: 0.122, green: 0.369, blue: 0.651) |
| UIKit | UIColor(red: 0.122, green: 0.369, blue: 0.651, alpha: 1) |
| Flutter / Compose | Color(0xFF1F5EA6) |
| Android XML | #1F5EA6 |

## Facts

- Closest name: Drakenhof Nightshade
- Hue family: Blue, deep dark blue
- Closest Tailwind class: sky-700
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 6.54:1
- Contrast with black: 3.21:1

## Tints

#1f5ea6, #386eb0, #4e7eb9, #648ec2, #799ecc, #8faed5, #a5bedd, #bbcee6, #d1deee, #e8eff7

## Shades

#1f5ea6, #195190, #14447a, #0f3765, #0a2b51, #061f3e, #03142b, #010a1a, #00030a, #000001

## Tones

#1f5ea6, #285f9f, #305f98, #386091, #3e608a, #446083, #4a607c, #4f5f74, #545f6d, #595f66

## Harmonies

- Complementary: #1f5ea6, #855100
- Split: #1f5ea6, #983f0c, #696000
- Analogous: #1f5ea6, #006a8d, #5850a4
- Triadic: #1f5ea6, #9a3746, #3b6d0f
- Tetradic: #1f5ea6, #794391, #855100, #3b6d0f
- Square: #1f5ea6, #8f3a6f, #855100, #00734b
- Monochromatic: #1f5ea6, #001959, #003b80, #4482cd, #69a8f6

## Questions about #1f5ea6

### What color is #1f5ea6?

#1f5ea6 is deep dark blue. The closest named color is Drakenhof Nightshade. In RGB it is rgb(31, 94, 166), in HSL hsl(212, 68.53%, 38.63%) and in OKLCH oklch(48.15% 0.13177 254.579).

### What colors go well with #1f5ea6?

The complementary color of #1f5ea6 is #855100. For a calmer combination use the analogous colors #006a8d and #5850a4. The triadic partners are #9a3746 and #3b6d0f.

### Is white or black text more readable on #1f5ea6?

White text reads better on #1f5ea6: white gives a contrast ratio of 6.54:1 and black gives 3.21:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #1f5ea6 a warm or cool color?

#1f5ea6 is a cool color. In OKLCH its hue is 255 degrees, its lightness 48.1% and its chroma 0.132.
