# #1f5fa6 color: Drakenhof Nightshade

#1f5fa6 is rgb(31, 95, 166) in RGB and oklch(48.382% 0.13063 254.055) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f5fa6 |
| RGB | rgb(31, 95, 166) |
| HSL | hsl(211.56, 68.53%, 38.63%) |
| HSB / HSV | hsv(211.56 81.33% 65.1%) |
| HWB | hwb(211.56 12.16% 34.9%) |
| CMYK | cmyk(81% 43% 0% 35%) |
| Lab | lab(39.28 0.21 -44.79) |
| LCH | lch(39.28 44.8 270.26) |
| OKLab | oklab(48.382% -0.03589 -0.1256) |
| OKLCH | oklch(48.382% 0.13063 254.055) |
| Display P3 | color(display-p3 0.19506 0.3673 0.63083) |
| Rec. 2020 | color(rec2020 0.21706 0.30869 0.5877) |
| Adobe RGB | color(a98-rgb 0.2376 0.37318 0.63656) |
| ProPhoto RGB | color(prophoto-rgb 0.27614 0.2964 0.5525) |
| Linear sRGB | color(srgb-linear 0.0137 0.11444 0.38133) |
| XYZ D65 | color(xyz-d65 0.11539 0.11228 0.37637) |
| XYZ D50 | color(xyz-d50 0.10461 0.1082 0.2836) |
| SwiftUI | Color(red: 0.122, green: 0.373, blue: 0.651) |
| UIKit | UIColor(red: 0.122, green: 0.373, blue: 0.651, alpha: 1) |
| Flutter / Compose | Color(0xFF1F5FA6) |
| Android XML | #1F5FA6 |

## 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.47:1
- Contrast with black: 3.25:1

## Tints

#1f5fa6, #386fb0, #4e7fb9, #648ec2, #7a9ecc, #8faed4, #a5bedd, #bbcee6, #d1deee, #e8eff7

## Shades

#1f5fa6, #195290, #14447a, #0f3865, #0a2c51, #06203e, #03152b, #010a1a, #00030a, #000001

## Tones

#1f5fa6, #29609f, #316098, #386091, #3e618a, #446183, #4a607c, #506075, #55606e, #5a5f66

## Harmonies

- Complementary: #1f5fa6, #865100
- Split: #1f5fa6, #984011, #6b6100
- Analogous: #1f5fa6, #006b8d, #5851a5
- Triadic: #1f5fa6, #9a3848, #3d6e10
- Tetradic: #1f5fa6, #794491, #865100, #3d6e10
- Square: #1f5fa6, #8f3b71, #865100, #00744b
- Monochromatic: #1f5fa6, #001a59, #003c80, #4583cd, #69a9f6

## Questions about #1f5fa6

### What color is #1f5fa6?

#1f5fa6 is deep dark blue. The closest named color is Drakenhof Nightshade. In RGB it is rgb(31, 95, 166), in HSL hsl(211.56, 68.53%, 38.63%) and in OKLCH oklch(48.382% 0.13063 254.055).

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

The complementary color of #1f5fa6 is #865100. For a calmer combination use the analogous colors #006b8d and #5851a5. The triadic partners are #9a3848 and #3d6e10.

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

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

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

#1f5fa6 is a cool color. In OKLCH its hue is 254 degrees, its lightness 48.4% and its chroma 0.131.
