#1F438E#1F438E
#1F438E is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.2% C 0.131 H 262.7°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).
Color values
| HEX | #1F438E |
|---|---|
| RGB | rgb(31, 67, 142) |
| HSL | hsl(221, 64%, 34%) |
| HSV | hsv(221, 78%, 56%) |
| CMYK | cmyk(78.2%, 52.8%, 0%, 44.3%) |
| CIE-LAB | lab(30.05, 15.50, -45.31) |
| CIE-LCH | lch(30.05, 47.89, 288.89°) |
| OKLab | oklab(40.24% -0.0167 -0.1304) |
| OKLCH | oklch(40.24% 0.131 262.7) |
| XYZ | xyz(7.4530, 6.2578, 26.4010) |
| Luminance | 0.0626 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.88
Darkish Blue
#014182
ΔE00 3.27
Cobalt
#0047AB
ΔE00 4.01
Twilight Blue
#0A437A
ΔE00 4.28
Dusk Blue
#26538D
ΔE00 5.66
Prussian Blue
#004577
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F438E #8E6A1F
analogous
#1F7B8E #1F438E #331F8E
triadic
#1F438E #8E1F43 #438E1F
tetradic
#1F438E #8E1F7B #8E6A1F #1F8E33
square
#1F438E #8E1F7B #8E6A1F #1F8E33
split-complementary
#1F438E #8E331F #7B8E1F
monochromatic
#09142A #142B5C #1F438E #2A5BC0 #4F7CD9
Accessibility & contrast
On white
9.33
#1F438E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#1F438E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F438E
9.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F438E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F438E | 1.00 | 9.33 | 2.25 | 9.33 |
| #FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#114C91
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #1f438e; /* rgb */ color: rgb(31, 67, 142); /* oklch */ color: oklch(40.2% 0.131 262.7);
Tailwind
colors: {
custom: {
50: '#6c76b0',
500: '#1f438e',
950: '#000000',
},
}SCSS
$custom: #1f438e; $custom-light: #6c76b0; $custom-dark: #000000;
JSON
{
"hex": "#1f438e",
"rgb": {
"r": 31,
"g": 67,
"b": 142
},
"hsl": {
"h": 220.541,
"s": 64.162,
"l": 33.922
},
"oklch": {
"l": 0.40235,
"c": 0.13149,
"h": 262.7
},
"luminance": 0.06259
}Semantic roles & 50–950 ramp
primary
#1F438E
secondary
#BB984D
accent
#B141E7
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F