# #1f5da2 color: Drakenhof Nightshade

#1f5da2 is rgb(31, 93, 162) in RGB and oklch(47.647% 0.12754 254.038) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f5da2 |
| RGB | rgb(31, 93, 162) |
| HSL | hsl(211.6, 67.88%, 37.84%) |
| HSB / HSV | hsv(211.6 80.86% 63.53%) |
| HWB | hwb(211.6 12.16% 36.47%) |
| CMYK | cmyk(81% 43% 0% 36%) |
| Lab | lab(38.45 0.08 -43.74) |
| LCH | lch(38.45 43.74 270.1) |
| OKLab | oklab(47.647% -0.03507 -0.12262) |
| OKLCH | oklch(47.647% 0.12754 254.038) |
| Display P3 | color(display-p3 0.19212 0.35958 0.61566) |
| Rec. 2020 | color(rec2020 0.21132 0.30061 0.57132) |
| Adobe RGB | color(a98-rgb 0.23396 0.36572 0.62118) |
| ProPhoto RGB | color(prophoto-rgb 0.26914 0.28912 0.53632) |
| Linear sRGB | color(srgb-linear 0.0137 0.10946 0.36131) |
| XYZ D65 | color(xyz-d65 0.11 0.10728 0.35675) |
| XYZ D50 | color(xyz-d50 0.09983 0.10342 0.26883) |
| SwiftUI | Color(red: 0.122, green: 0.365, blue: 0.635) |
| UIKit | UIColor(red: 0.122, green: 0.365, blue: 0.635, alpha: 1) |
| Flutter / Compose | Color(0xFF1F5DA2) |
| Android XML | #1F5DA2 |

## 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.68:1
- Contrast with black: 3.15:1

## Tints

#1f5da2, #386dac, #4e7db6, #648dbf, #799dc9, #8fadd2, #a5bddc, #bbcde5, #d1deee, #e8eef6

## Shades

#1f5da2, #19508c, #144377, #0f3763, #0a2a4f, #061f3c, #03142a, #010a19, #00030a, #000001

## Tones

#1f5da2, #285e9b, #305e95, #375e8e, #3d5e87, #435e80, #495e79, #4e5e72, #535e6b, #585d64

## Harmonies

- Complementary: #1f5da2, #844f00
- Split: #1f5da2, #953f12, #695f00
- Analogous: #1f5da2, #00688a, #564fa1
- Triadic: #1f5da2, #973846, #3c6b11
- Tetradic: #1f5da2, #76438e, #844f00, #3c6b11
- Square: #1f5da2, #8c3a6e, #844f00, #007149
- Monochromatic: #1f5da2, #001855, #003a7c, #4481c9, #69a7f1

## Questions about #1f5da2

### What color is #1f5da2?

#1f5da2 is deep dark blue. The closest named color is Drakenhof Nightshade. In RGB it is rgb(31, 93, 162), in HSL hsl(211.6, 67.88%, 37.84%) and in OKLCH oklch(47.647% 0.12754 254.038).

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

The complementary color of #1f5da2 is #844f00. For a calmer combination use the analogous colors #00688a and #564fa1. The triadic partners are #973846 and #3c6b11.

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

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

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

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