# #1f5fa5 color: Drakenhof Nightshade

#1f5fa5 is rgb(31, 95, 165) in RGB and oklch(48.315% 0.12929 253.782) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f5fa5 |
| RGB | rgb(31, 95, 165) |
| HSL | hsl(211.34, 68.37%, 38.43%) |
| HSB / HSV | hsv(211.34 81.21% 64.71%) |
| HWB | hwb(211.34 12.16% 35.29%) |
| CMYK | cmyk(81% 42% 0% 35%) |
| Lab | lab(39.22 -0.12 -44.29) |
| LCH | lch(39.22 44.29 269.84) |
| OKLab | oklab(48.315% -0.03611 -0.12415) |
| OKLCH | oklch(48.315% 0.12929 253.782) |
| Display P3 | color(display-p3 0.19506 0.3673 0.62711) |
| Rec. 2020 | color(rec2020 0.21656 0.30859 0.5837) |
| Adobe RGB | color(a98-rgb 0.2376 0.37318 0.63275) |
| ProPhoto RGB | color(prophoto-rgb 0.27503 0.29619 0.54858) |
| Linear sRGB | color(srgb-linear 0.0137 0.11444 0.37626) |
| XYZ D65 | color(xyz-d65 0.11448 0.11192 0.37155) |
| XYZ D50 | color(xyz-d50 0.10388 0.10789 0.27999) |
| SwiftUI | Color(red: 0.122, green: 0.373, blue: 0.647) |
| UIKit | UIColor(red: 0.122, green: 0.373, blue: 0.647, alpha: 1) |
| Flutter / Compose | Color(0xFF1F5FA5) |
| Android XML | #1F5FA5 |

## 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.48:1
- Contrast with black: 3.24:1

## Tints

#1f5fa5, #386faf, #4e7fb8, #648ec2, #7a9ecb, #8faed4, #a5bedd, #bbcee6, #d1deee, #e8eff7

## Shades

#1f5fa5, #19528f, #144479, #0f3865, #0a2c51, #06203d, #03152b, #010a1a, #00030a, #000001

## Tones

#1f5fa5, #29609e, #316097, #386090, #3e6089, #446083, #4a607c, #4f6074, #55606d, #5a5f66

## Harmonies

- Complementary: #1f5fa5, #865100
- Split: #1f5fa5, #984013, #6b6000
- Analogous: #1f5fa5, #006a8d, #5751a4
- Triadic: #1f5fa5, #993948, #3e6d11
- Tetradic: #1f5fa5, #784591, #865100, #3e6d11
- Square: #1f5fa5, #8e3b70, #865100, #00744a
- Monochromatic: #1f5fa5, #001a57, #003c7f, #4583cc, #69a9f5

## Questions about #1f5fa5

### What color is #1f5fa5?

#1f5fa5 is deep dark blue. The closest named color is Drakenhof Nightshade. In RGB it is rgb(31, 95, 165), in HSL hsl(211.34, 68.37%, 38.43%) and in OKLCH oklch(48.315% 0.12929 253.782).

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

The complementary color of #1f5fa5 is #865100. For a calmer combination use the analogous colors #006a8d and #5751a4. The triadic partners are #993948 and #3e6d11.

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

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

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

#1f5fa5 is a cool color. In OKLCH its hue is 254 degrees, its lightness 48.3% and its chroma 0.129.
