#1F39A6#1F39A6
#1F39A6 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.3% C 0.177 H 267.1°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).
Color values
| HEX | #1F39A6 |
|---|---|
| RGB | rgb(31, 57, 166) |
| HSL | hsl(228, 69%, 39%) |
| HSV | hsv(228, 81%, 65%) |
| CMYK | cmyk(81.3%, 65.7%, 0%, 34.9%) |
| CIE-LAB | lab(29.34, 31.71, -61.09) |
| CIE-LCH | lch(29.34, 68.83, 297.43°) |
| OKLab | oklab(40.32% -0.0091 -0.1769) |
| OKLCH | oklch(40.32% 0.177 267.1) |
| XYZ | xyz(8.9087, 5.9697, 36.7517) |
| Luminance | 0.0597 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 0.92
Blue Blue
#2242C7
ΔE00 5.03
Cobalt
#0047AB
ΔE00 5.38
Blueberry
#464196
ΔE00 5.74
Ocean Blue
#4F42B5
ΔE00 6.52
Cobalt (survey)
#1E488F
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F39A6 #A68C1F
analogous
#1F7CA6 #1F39A6 #481FA6
triadic
#1F39A6 #A61F39 #39A61F
tetradic
#1F39A6 #A61F7C #A68C1F #1FA648
square
#1F39A6 #A61F7C #A68C1F #1FA648
split-complementary
#1F39A6 #A6481F #7CA61F
monochromatic
#0C163F #152772 #1F39A6 #2B4CD7 #5E78E1
Accessibility & contrast
On white
9.57
#1F39A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#1F39A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F39A6
9.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F39A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F39A6 | 1.00 | 9.57 | 2.19 | 9.57 |
| #FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CA9
Deuteranopia (green-blind)
#003FA4
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #1f39a6; /* rgb */ color: rgb(31, 57, 166); /* oklch */ color: oklch(40.3% 0.177 267.1);
Tailwind
colors: {
custom: {
50: '#736fc1',
500: '#1f39a6',
950: '#000000',
},
}SCSS
$custom: #1f39a6; $custom-light: #736fc1; $custom-dark: #000000;
JSON
{
"hex": "#1f39a6",
"rgb": {
"r": 31,
"g": 57,
"b": 166
},
"hsl": {
"h": 228.444,
"s": 68.528,
"l": 38.627
},
"oklch": {
"l": 0.4032,
"c": 0.1771,
"h": 267.1
},
"luminance": 0.05971
}Semantic roles & 50–950 ramp
primary
#1F39A6
secondary
#C5B15B
accent
#CA3CEB
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81