#1F439F#1F439F
#1F439F is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.6% C 0.155 H 264.4°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #1F439F |
|---|---|
| RGB | rgb(31, 67, 159) |
| HSL | hsl(223, 67%, 37%) |
| HSV | hsv(223, 81%, 62%) |
| CMYK | cmyk(80.5%, 57.9%, 0%, 37.6%) |
| CIE-LAB | lab(31.37, 22.27, -53.55) |
| CIE-LCH | lch(31.37, 57.99, 292.59°) |
| OKLab | oklab(41.64% -0.0152 -0.1546) |
| OKLCH | oklch(41.64% 0.155 264.4) |
| XYZ | xyz(8.8280, 6.8078, 33.6429) |
| Luminance | 0.0681 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.48
Cobalt (survey)
#1E488F
ΔE00 3.49
Sapphire (survey)
#2138AB
ΔE00 4.49
Darkish Blue
#014182
ΔE00 5.38
Sapphire
#0F52BA
ΔE00 5.85
Blue Blue
#2242C7
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F439F #9F7B1F
analogous
#1F839F #1F439F #3B1F9F
triadic
#1F439F #9F1F43 #439F1F
tetradic
#1F439F #9F1F83 #9F7B1F #1F9F3B
square
#1F439F #9F1F83 #9F7B1F #1F9F3B
split-complementary
#1F439F #9F3B1F #839F1F
monochromatic
#0B1839 #152D6C #1F439F #2959D2 #5A7FDF
Accessibility & contrast
On white
8.89
#1F439F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#1F439F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F439F
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F439F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F439F | 1.00 | 8.89 | 2.36 | 8.89 |
| #FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A2
Deuteranopia (green-blind)
#00449D
Tritanopia (blue-blind)
#005A6A
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #1f439f; /* rgb */ color: rgb(31, 67, 159); /* oklch */ color: oklch(41.6% 0.155 264.4);
Tailwind
colors: {
custom: {
50: '#7076bc',
500: '#1f439f',
950: '#000000',
},
}SCSS
$custom: #1f439f; $custom-light: #7076bc; $custom-dark: #000000;
JSON
{
"hex": "#1f439f",
"rgb": {
"r": 31,
"g": 67,
"b": 159
},
"hsl": {
"h": 223.125,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.41641,
"c": 0.15538,
"h": 264.4
},
"luminance": 0.06809
}Semantic roles & 50–950 ramp
primary
#1F439F
secondary
#C3A457
accent
#BA3EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81