#1F169F#1F169F
#1F169F is a dark, highly saturated blue. Relative luminance 0.034; OKLCH L 34.5% C 0.202 H 271.2°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).
Color values
| HEX | #1F169F |
|---|---|
| RGB | rgb(31, 22, 159) |
| HSL | hsl(244, 76%, 35%) |
| HSV | hsv(244, 86%, 62%) |
| CMYK | cmyk(80.5%, 86.2%, 0%, 37.6%) |
| CIE-LAB | lab(21.46, 49.19, -69.85) |
| CIE-LCH | lch(21.46, 85.44, 305.15°) |
| OKLab | oklab(34.48% 0.0043 -0.2021) |
| OKLCH | oklch(34.48% 0.202 271.2) |
| XYZ | xyz(7.1079, 3.3675, 33.0696) |
| Luminance | 0.0337 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt Blue
#030AA7
ΔE00 1.98
Royal
#0C1793
ΔE00 2.17
Royal Blue (survey)
#0504AA
ΔE00 2.49
Ultramarine
#2000B1
ΔE00 3.04
Indigo Blue
#3A18B1
ΔE00 3.72
Darkblue
#00008B
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F169F #969F16
analogous
#16519F #1F169F #64169F
triadic
#1F169F #9F1F16 #169F1F
tetradic
#1F169F #9F1651 #969F16 #169F64
square
#1F169F #9F1651 #969F16 #169F64
split-complementary
#1F169F #9F6416 #519F16
monochromatic
#0A0733 #150F69 #1F169F #291DD5 #544AE6
Accessibility & contrast
On white
12.55
#1F169F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#1F169F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F169F
12.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F169F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F169F | 1.00 | 12.55 | 1.67 | 12.55 |
| #FFFFFF | 12.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003AA3
Deuteranopia (green-blind)
#002C9D
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1f169f; /* rgb */ color: rgb(31, 22, 159); /* oklch */ color: oklch(34.5% 0.202 271.2);
Tailwind
colors: {
custom: {
50: '#7559bd',
500: '#1f169f',
950: '#000000',
},
}SCSS
$custom: #1f169f; $custom-light: #7559bd; $custom-dark: #000000;
JSON
{
"hex": "#1f169f",
"rgb": {
"r": 31,
"g": 22,
"b": 159
},
"hsl": {
"h": 243.942,
"s": 75.691,
"l": 35.49
},
"oklch": {
"l": 0.34481,
"c": 0.20211,
"h": 271.2
},
"luminance": 0.03368
}Semantic roles & 50–950 ramp
primary
#1F169F
secondary
#BFC74A
accent
#F236E6
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981