#1F468D#1F468D
#1F468D is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.8% C 0.126 H 261.2°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #1F468D |
|---|---|
| RGB | rgb(31, 70, 141) |
| HSL | hsl(219, 64%, 34%) |
| HSV | hsv(219, 78%, 55%) |
| CMYK | cmyk(78%, 50.4%, 0%, 44.7%) |
| CIE-LAB | lab(30.86, 13.04, -43.39) |
| CIE-LCH | lch(30.86, 45.31, 286.73°) |
| OKLab | oklab(40.83% -0.0193 -0.1247) |
| OKLCH | oklch(40.83% 0.126 261.2) |
| XYZ | xyz(7.5612, 6.5939, 26.0684) |
| Luminance | 0.0659 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.76
Darkish Blue
#014182
ΔE00 2.96
Twilight Blue
#0A437A
ΔE00 3.73
Cobalt
#0047AB
ΔE00 3.97
Dusk Blue
#26538D
ΔE00 4.54
Prussian Blue
#004577
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F468D #8D661F
analogous
#1F7D8D #1F468D #2F1F8D
triadic
#1F468D #8D1F46 #468D1F
tetradic
#1F468D #8D1F7D #8D661F #1F8D2F
square
#1F468D #8D1F7D #8D661F #1F8D2F
split-complementary
#1F468D #8D2F1F #7D8D1F
monochromatic
#091429 #142D5B #1F468D #2A5FBF #4E7FD8
Accessibility & contrast
On white
9.06
#1F468D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#1F468D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F468D
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F468D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F468D | 1.00 | 9.06 | 2.32 | 9.06 |
| #FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D4E90
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #1f468d; /* rgb */ color: rgb(31, 70, 141); /* oklch */ color: oklch(40.8% 0.126 261.2);
Tailwind
colors: {
custom: {
50: '#6c78af',
500: '#1f468d',
950: '#000000',
},
}SCSS
$custom: #1f468d; $custom-light: #6c78af; $custom-dark: #000000;
JSON
{
"hex": "#1f468d",
"rgb": {
"r": 31,
"g": 70,
"b": 141
},
"hsl": {
"h": 218.727,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.40831,
"c": 0.1262,
"h": 261.2
},
"luminance": 0.06595
}Semantic roles & 50–950 ramp
primary
#1F468D
secondary
#BB944D
accent
#AC41E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F