#1F39A7#1F39A7
#1F39A7 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.4% C 0.178 H 267.1°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #1F39A7 |
|---|---|
| RGB | rgb(31, 57, 167) |
| HSL | hsl(229, 69%, 39%) |
| HSV | hsv(229, 81%, 65%) |
| CMYK | cmyk(81.4%, 65.9%, 0%, 34.5%) |
| CIE-LAB | lab(29.43, 32.09, -61.54) |
| CIE-LCH | lch(29.43, 69.40, 297.54°) |
| OKLab | oklab(40.42% -0.0091 -0.1782) |
| OKLCH | oklch(40.42% 0.178 267.1) |
| XYZ | xyz(9.0008, 6.0065, 37.2367) |
| Luminance | 0.0601 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 0.79
Blue Blue
#2242C7
ΔE00 4.91
Cobalt
#0047AB
ΔE00 5.40
Blueberry
#464196
ΔE00 5.78
Ocean Blue
#4F42B5
ΔE00 6.44
Cobalt (survey)
#1E488F
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F39A7 #A78D1F
analogous
#1F7DA7 #1F39A7 #491FA7
triadic
#1F39A7 #A71F39 #39A71F
tetradic
#1F39A7 #A71F7D #A78D1F #1FA749
square
#1F39A7 #A71F7D #A78D1F #1FA749
split-complementary
#1F39A7 #A7491F #7DA71F
monochromatic
#0C1640 #152773 #1F39A7 #2B4CD8 #5F78E1
Accessibility & contrast
On white
9.54
#1F39A7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#1F39A7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F39A7
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F39A7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F39A7 | 1.00 | 9.54 | 2.20 | 9.54 |
| #FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CAA
Deuteranopia (green-blind)
#003FA5
Tritanopia (blue-blind)
#00566B
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #1f39a7; /* rgb */ color: rgb(31, 57, 167); /* oklch */ color: oklch(40.4% 0.178 267.1);
Tailwind
colors: {
custom: {
50: '#736fc2',
500: '#1f39a7',
950: '#000000',
},
}SCSS
$custom: #1f39a7; $custom-light: #736fc2; $custom-dark: #000000;
JSON
{
"hex": "#1f39a7",
"rgb": {
"r": 31,
"g": 57,
"b": 167
},
"hsl": {
"h": 228.529,
"s": 68.687,
"l": 38.824
},
"oklch": {
"l": 0.40417,
"c": 0.17842,
"h": 267.1
},
"luminance": 0.06008
}Semantic roles & 50–950 ramp
primary
#1F39A7
secondary
#C6B25C
accent
#CA3CEC
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82