# #1f5fa4 color: Drakenhof Nightshade

#1f5fa4 is rgb(31, 95, 164) in RGB and oklch(48.249% 0.12795 253.501) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f5fa4 |
| RGB | rgb(31, 95, 164) |
| HSL | hsl(211.13, 68.21%, 38.24%) |
| HSB / HSV | hsv(211.13 81.1% 64.31%) |
| HWB | hwb(211.13 12.16% 35.69%) |
| CMYK | cmyk(81% 42% 0% 36%) |
| Lab | lab(39.17 -0.45 -43.78) |
| LCH | lch(39.17 43.78 269.42) |
| OKLab | oklab(48.249% -0.03634 -0.12268) |
| OKLCH | oklch(48.249% 0.12795 253.501) |
| Display P3 | color(display-p3 0.19506 0.3673 0.62339) |
| Rec. 2020 | color(rec2020 0.21607 0.30849 0.5797) |
| Adobe RGB | color(a98-rgb 0.2376 0.37318 0.62895) |
| ProPhoto RGB | color(prophoto-rgb 0.27393 0.29598 0.54466) |
| Linear sRGB | color(srgb-linear 0.0137 0.11444 0.37124) |
| XYZ D65 | color(xyz-d65 0.11357 0.11155 0.36678) |
| XYZ D50 | color(xyz-d50 0.10317 0.10759 0.2764) |
| SwiftUI | Color(red: 0.122, green: 0.373, blue: 0.643) |
| UIKit | UIColor(red: 0.122, green: 0.373, blue: 0.643, alpha: 1) |
| Flutter / Compose | Color(0xFF1F5FA4) |
| Android XML | #1F5FA4 |

## 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.5:1
- Contrast with black: 3.23:1

## Tints

#1f5fa4, #386fae, #4e7fb7, #648ec1, #7a9eca, #8faed3, #a5bedc, #bbcee5, #d1deee, #e8eff7

## Shades

#1f5fa4, #19528e, #144479, #0f3864, #0a2c50, #06203d, #03152b, #010a1a, #00030a, #000001

## Tones

#1f5fa4, #29609d, #316096, #386090, #3e6089, #446082, #4a607b, #4f6074, #545f6d, #595f66

## Harmonies

- Complementary: #1f5fa4, #865100
- Split: #1f5fa4, #974115, #6b6000
- Analogous: #1f5fa4, #006a8c, #5751a3
- Triadic: #1f5fa4, #993949, #3f6d11
- Tetradic: #1f5fa4, #784590, #865100, #3f6d11
- Square: #1f5fa4, #8e3c70, #865100, #007449
- Monochromatic: #1f5fa4, #001b56, #003c7e, #4583cb, #69a9f4

## Questions about #1f5fa4

### What color is #1f5fa4?

#1f5fa4 is deep dark blue. The closest named color is Drakenhof Nightshade. In RGB it is rgb(31, 95, 164), in HSL hsl(211.13, 68.21%, 38.24%) and in OKLCH oklch(48.249% 0.12795 253.501).

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

The complementary color of #1f5fa4 is #865100. For a calmer combination use the analogous colors #006a8c and #5751a3. The triadic partners are #993949 and #3f6d11.

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

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

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

#1f5fa4 is a cool color. In OKLCH its hue is 254 degrees, its lightness 48.2% and its chroma 0.128.
