# #1f5fa0 color: Drakenhof Nightshade

#1f5fa0 is rgb(31, 95, 160) in RGB and oklch(47.986% 0.12262 252.297) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f5fa0 |
| RGB | rgb(31, 95, 160) |
| HSL | hsl(210.23, 67.54%, 37.45%) |
| HSB / HSV | hsv(210.23 80.63% 62.75%) |
| HWB | hwb(210.23 12.16% 37.25%) |
| CMYK | cmyk(81% 41% 0% 37%) |
| Lab | lab(38.97 -1.74 -41.73) |
| LCH | lch(38.97 41.77 267.61) |
| OKLab | oklab(47.986% -0.03729 -0.11681) |
| OKLCH | oklch(47.986% 0.12262 252.297) |
| Display P3 | color(display-p3 0.19506 0.3673 0.60853) |
| Rec. 2020 | color(rec2020 0.21412 0.30812 0.56374) |
| Adobe RGB | color(a98-rgb 0.2376 0.37318 0.61374) |
| ProPhoto RGB | color(prophoto-rgb 0.26956 0.29517 0.52908) |
| Linear sRGB | color(srgb-linear 0.0137 0.11444 0.35153) |
| XYZ D65 | color(xyz-d65 0.11002 0.11013 0.34805) |
| XYZ D50 | color(xyz-d50 0.10035 0.1064 0.26233) |
| SwiftUI | Color(red: 0.122, green: 0.373, blue: 0.627) |
| UIKit | UIColor(red: 0.122, green: 0.373, blue: 0.627, alpha: 1) |
| Flutter / Compose | Color(0xFF1F5FA0) |
| Android XML | #1F5FA0 |

## 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.56:1
- Contrast with black: 3.2:1

## Tints

#1f5fa0, #386faa, #4f7eb4, #648ebe, #7a9ec8, #8faed1, #a5bedb, #bbcee4, #d1deed, #e8eff6

## Shades

#1f5fa0, #19528b, #144476, #0f3861, #0a2c4e, #06203b, #031529, #010a19, #000309, #000001

## Tones

#1f5fa0, #295f9a, #316093, #38608d, #3e6086, #446080, #4a6079, #4f5f72, #545f6b, #595e64

## Harmonies

- Complementary: #1f5fa0, #864f00
- Split: #1f5fa0, #94411c, #6b5f00
- Analogous: #1f5fa0, #006a8a, #5552a0
- Triadic: #1f5fa0, #953b4a, #426b14
- Tetradic: #1f5fa0, #75468f, #864f00, #426b14
- Square: #1f5fa0, #8a3d70, #864f00, #007248
- Monochromatic: #1f5fa0, #001b53, #003c7a, #4583c7, #69a8ef

## Questions about #1f5fa0

### What color is #1f5fa0?

#1f5fa0 is deep dark blue. The closest named color is Drakenhof Nightshade. In RGB it is rgb(31, 95, 160), in HSL hsl(210.23, 67.54%, 37.45%) and in OKLCH oklch(47.986% 0.12262 252.297).

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

The complementary color of #1f5fa0 is #864f00. For a calmer combination use the analogous colors #006a8a and #5552a0. The triadic partners are #953b4a and #426b14.

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

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

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

#1f5fa0 is a cool color. In OKLCH its hue is 252 degrees, its lightness 48% and its chroma 0.123.
