#1F438F#1F438F
#1F438F is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.3% C 0.133 H 262.8°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).
Color values
| HEX | #1F438F |
|---|---|
| RGB | rgb(31, 67, 143) |
| HSL | hsl(221, 64%, 34%) |
| HSV | hsv(221, 78%, 56%) |
| CMYK | cmyk(78.3%, 53.1%, 0%, 43.9%) |
| CIE-LAB | lab(30.13, 15.90, -45.81) |
| CIE-LCH | lch(30.13, 48.49, 289.15°) |
| OKLab | oklab(40.32% -0.0166 -0.1319) |
| OKLCH | oklch(40.32% 0.133 262.8) |
| XYZ | xyz(7.5284, 6.2879, 26.7982) |
| Luminance | 0.0629 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.92
Darkish Blue
#014182
ΔE00 3.38
Cobalt
#0047AB
ΔE00 3.89
Twilight Blue
#0A437A
ΔE00 4.40
Dusk Blue
#26538D
ΔE00 5.69
Prussian Blue
#004577
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F438F #8F6B1F
analogous
#1F7B8F #1F438F #331F8F
triadic
#1F438F #8F1F43 #438F1F
tetradic
#1F438F #8F1F7B #8F6B1F #1F8F33
square
#1F438F #8F1F7B #8F6B1F #1F8F33
split-complementary
#1F438F #8F331F #7B8F1F
monochromatic
#09142A #142B5D #1F438F #2A5BC1 #4F7CD9
Accessibility & contrast
On white
9.30
#1F438F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#1F438F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F438F
9.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F438F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F438F | 1.00 | 9.30 | 2.26 | 9.30 |
| #FFFFFF | 9.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F4C92
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #1f438f; /* rgb */ color: rgb(31, 67, 143); /* oklch */ color: oklch(40.3% 0.133 262.8);
Tailwind
colors: {
custom: {
50: '#6c76b0',
500: '#1f438f',
950: '#000000',
},
}SCSS
$custom: #1f438f; $custom-light: #6c76b0; $custom-dark: #000000;
JSON
{
"hex": "#1f438f",
"rgb": {
"r": 31,
"g": 67,
"b": 143
},
"hsl": {
"h": 220.714,
"s": 64.368,
"l": 34.118
},
"oklch": {
"l": 0.40315,
"c": 0.13292,
"h": 262.8
},
"luminance": 0.06289
}Semantic roles & 50–950 ramp
primary
#1F438F
secondary
#BC994E
accent
#B240E7
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080811
muted
#7B7B80