#1F4A9F#1F4A9F
#1F4A9F is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.1% C 0.147 H 262.1°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4A9F |
|---|---|
| RGB | rgb(31, 74, 159) |
| HSL | hsl(220, 67%, 37%) |
| HSV | hsv(220, 81%, 62%) |
| CMYK | cmyk(80.5%, 53.5%, 0%, 37.6%) |
| CIE-LAB | lab(33.33, 17.52, -50.35) |
| CIE-LCH | lch(33.33, 53.31, 289.18°) |
| OKLab | oklab(43.13% -0.0202 -0.1451) |
| OKLCH | oklch(43.13% 0.147 262.1) |
| XYZ | xyz(9.2696, 7.6910, 33.7901) |
| Luminance | 0.0769 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.00
Cobalt (survey)
#1E488F
ΔE00 2.28
Sapphire
#0F52BA
ΔE00 4.12
Dusk Blue
#26538D
ΔE00 4.31
Darkish Blue
#014182
ΔE00 5.10
Light Navy
#155084
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4A9F #9F741F
analogous
#1F8A9F #1F4A9F #341F9F
triadic
#1F4A9F #9F1F4A #4A9F1F
tetradic
#1F4A9F #9F1F8A #9F741F #1F9F34
square
#1F4A9F #9F1F8A #9F741F #1F9F34
split-complementary
#1F4A9F #9F341F #8A9F1F
monochromatic
#0B1A39 #15326C #1F4A9F #2962D2 #5A86DF
Accessibility & contrast
On white
8.27
#1F4A9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#1F4A9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4A9F
8.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4A9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4A9F | 1.00 | 8.27 | 2.54 | 8.27 |
| #FFFFFF | 8.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A55A2
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#005F6D
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #1f4a9f; /* rgb */ color: rgb(31, 74, 159); /* oklch */ color: oklch(43.1% 0.147 262.1);
Tailwind
colors: {
custom: {
50: '#707bbc',
500: '#1f4a9f',
950: '#000000',
},
}SCSS
$custom: #1f4a9f; $custom-light: #707bbc; $custom-dark: #000000;
JSON
{
"hex": "#1f4a9f",
"rgb": {
"r": 31,
"g": 74,
"b": 159
},
"hsl": {
"h": 219.844,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.43128,
"c": 0.14652,
"h": 262.1
},
"luminance": 0.07692
}Semantic roles & 50–950 ramp
primary
#1F4A9F
secondary
#C39F57
accent
#B03EEA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81