# #1f5fa2 color: Drakenhof Nightshade

#1f5fa2 is rgb(31, 95, 162) in RGB and oklch(48.117% 0.12528 252.916) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f5fa2 |
| RGB | rgb(31, 95, 162) |
| HSL | hsl(210.69, 67.88%, 37.84%) |
| HSB / HSV | hsv(210.69 80.86% 63.53%) |
| HWB | hwb(210.69 12.16% 36.47%) |
| CMYK | cmyk(81% 41% 0% 36%) |
| Lab | lab(39.07 -1.1 -42.76) |
| LCH | lch(39.07 42.77 268.53) |
| OKLab | oklab(48.117% -0.03681 -0.11975) |
| OKLCH | oklch(48.117% 0.12528 252.916) |
| Display P3 | color(display-p3 0.19506 0.3673 0.61596) |
| Rec. 2020 | color(rec2020 0.21509 0.30831 0.57172) |
| Adobe RGB | color(a98-rgb 0.2376 0.37318 0.62134) |
| ProPhoto RGB | color(prophoto-rgb 0.27174 0.29557 0.53685) |
| Linear sRGB | color(srgb-linear 0.0137 0.11444 0.36131) |
| XYZ D65 | color(xyz-d65 0.11178 0.11084 0.35734) |
| XYZ D50 | color(xyz-d50 0.10175 0.10699 0.26931) |
| SwiftUI | Color(red: 0.122, green: 0.373, blue: 0.635) |
| UIKit | UIColor(red: 0.122, green: 0.373, blue: 0.635, alpha: 1) |
| Flutter / Compose | Color(0xFF1F5FA2) |
| Android XML | #1F5FA2 |

## 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.53:1
- Contrast with black: 3.22:1

## Tints

#1f5fa2, #386fac, #4f7fb6, #648ebf, #7a9ec9, #8faed2, #a5bedb, #bbcee5, #d1deed, #e8eff6

## Shades

#1f5fa2, #19528c, #144477, #0f3863, #0a2c4f, #06203c, #03152a, #010a19, #00030a, #000001

## Tones

#1f5fa2, #295f9b, #316095, #38608e, #3e6087, #446081, #4a607a, #4f6073, #545f6c, #595e65

## Harmonies

- Complementary: #1f5fa2, #865000
- Split: #1f5fa2, #964119, #6b5f00
- Analogous: #1f5fa2, #006a8b, #5652a2
- Triadic: #1f5fa2, #973a4a, #406c13
- Tetradic: #1f5fa2, #764590, #865000, #406c13
- Square: #1f5fa2, #8c3d70, #865000, #007349
- Monochromatic: #1f5fa2, #001b54, #003c7c, #4583c9, #69a9f1

## Questions about #1f5fa2

### What color is #1f5fa2?

#1f5fa2 is deep dark blue. The closest named color is Drakenhof Nightshade. In RGB it is rgb(31, 95, 162), in HSL hsl(210.69, 67.88%, 37.84%) and in OKLCH oklch(48.117% 0.12528 252.916).

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

The complementary color of #1f5fa2 is #865000. For a calmer combination use the analogous colors #006a8b and #5652a2. The triadic partners are #973a4a and #406c13.

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

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

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

#1f5fa2 is a cool color. In OKLCH its hue is 253 degrees, its lightness 48.1% and its chroma 0.125.
