#1F468E#1F468E
#1F468E is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.9% C 0.128 H 261.3°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #1F468E |
|---|---|
| RGB | rgb(31, 70, 142) |
| HSL | hsl(219, 64%, 34%) |
| HSV | hsv(219, 78%, 56%) |
| CMYK | cmyk(78.2%, 50.7%, 0%, 44.3%) |
| CIE-LAB | lab(30.93, 13.44, -43.89) |
| CIE-LCH | lch(30.93, 45.90, 287.03°) |
| OKLab | oklab(40.91% -0.0192 -0.1262) |
| OKLCH | oklch(40.91% 0.128 261.3) |
| XYZ | xyz(7.6360, 6.6237, 26.4620) |
| Luminance | 0.0663 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.77
Darkish Blue
#014182
ΔE00 3.06
Cobalt
#0047AB
ΔE00 3.84
Twilight Blue
#0A437A
ΔE00 3.85
Dusk Blue
#26538D
ΔE00 4.57
Prussian Blue
#004577
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F468E #8E671F
analogous
#1F7E8E #1F468E #301F8E
triadic
#1F468E #8E1F46 #468E1F
tetradic
#1F468E #8E1F7E #8E671F #1F8E30
square
#1F468E #8E1F7E #8E671F #1F8E30
split-complementary
#1F468E #8E301F #7E8E1F
monochromatic
#09142A #142D5C #1F468E #2A5FC0 #4F7FD9
Accessibility & contrast
On white
9.03
#1F468E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#1F468E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F468E
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F468E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F468E | 1.00 | 9.03 | 2.33 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B4E91
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #1f468e; /* rgb */ color: rgb(31, 70, 142); /* oklch */ color: oklch(40.9% 0.128 261.3);
Tailwind
colors: {
custom: {
50: '#6c78b0',
500: '#1f468e',
950: '#000000',
},
}SCSS
$custom: #1f468e; $custom-light: #6c78b0; $custom-dark: #000000;
JSON
{
"hex": "#1f468e",
"rgb": {
"r": 31,
"g": 70,
"b": 142
},
"hsl": {
"h": 218.919,
"s": 64.162,
"l": 33.922
},
"oklch": {
"l": 0.40908,
"c": 0.12763,
"h": 261.3
},
"luminance": 0.06625
}Semantic roles & 50–950 ramp
primary
#1F468E
secondary
#BB954D
accent
#AD41E7
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F