# #1a5fa2 color: Drakenhof Nightshade

#1a5fa2 is rgb(26, 95, 162) in RGB and oklch(47.988% 0.12663 251.933) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #1a5fa2 |
| RGB | rgb(26, 95, 162) |
| HSL | hsl(209.56, 72.34%, 36.86%) |
| HSB / HSV | hsv(209.56 83.95% 63.53%) |
| HWB | hwb(209.56 10.2% 36.47%) |
| CMYK | cmyk(84% 41% 0% 36%) |
| Lab | lab(38.94 -1.68 -42.97) |
| LCH | lch(38.94 43 267.76) |
| OKLab | oklab(47.988% -0.03927 -0.12039) |
| OKLCH | oklch(47.988% 0.12663 251.933) |
| Display P3 | color(display-p3 0.18566 0.36712 0.61591) |
| Rec. 2020 | color(rec2020 0.21021 0.30792 0.57167) |
| Adobe RGB | color(a98-rgb 0.23136 0.37318 0.62134) |
| ProPhoto RGB | color(prophoto-rgb 0.26891 0.29508 0.5368) |
| Linear sRGB | color(srgb-linear 0.01033 0.11444 0.36131) |
| XYZ D65 | color(xyz-d65 0.11039 0.11012 0.35727) |
| XYZ D50 | color(xyz-d50 0.10027 0.10624 0.26926) |
| SwiftUI | Color(red: 0.102, green: 0.373, blue: 0.635) |
| UIKit | UIColor(red: 0.102, green: 0.373, blue: 0.635, alpha: 1) |
| Flutter / Compose | Color(0xFF1A5FA2) |
| Android XML | #1A5FA2 |

## 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

#1a5fa2, #356fac, #4c7fb6, #628ebf, #789ec9, #8eaed2, #a4bedb, #bacee5, #d1deed, #e8eff6

## Shades

#1a5fa2, #15528c, #104477, #0c3863, #072c4f, #04203c, #02152a, #010a19, #00030a, #000001

## Tones

#1a5fa2, #255f9b, #2e6095, #36608e, #3c6087, #436081, #49607a, #4e5f73, #535f6c, #595e65

## Harmonies

- Complementary: #1a5fa2, #874f00
- Split: #1a5fa2, #964019, #6c5f00
- Analogous: #1a5fa2, #006a89, #5451a2
- Triadic: #1a5fa2, #97394a, #416b0d
- Tetradic: #1a5fa2, #754590, #874f00, #416b0d
- Square: #1a5fa2, #8b3c71, #874f00, #007247
- Monochromatic: #1a5fa2, #001c52, #003c7c, #4183c9, #66a9f1

## Questions about #1a5fa2

### What color is #1a5fa2?

#1a5fa2 is deep dark blue. The closest named color is Drakenhof Nightshade. In RGB it is rgb(26, 95, 162), in HSL hsl(209.56, 72.34%, 36.86%) and in OKLCH oklch(47.988% 0.12663 251.933).

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

The complementary color of #1a5fa2 is #874f00. For a calmer combination use the analogous colors #006a89 and #5451a2. The triadic partners are #97394a and #416b0d.

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

White text reads better on #1a5fa2: 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 #1a5fa2 a warm or cool color?

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