#1F4FA4#1F4FA4
#1F4FA4 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.6% C 0.147 H 260.9°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4FA4 |
|---|---|
| RGB | rgb(31, 79, 164) |
| HSL | hsl(218, 68%, 38%) |
| HSV | hsv(218, 81%, 64%) |
| CMYK | cmyk(81.1%, 51.8%, 0%, 35.7%) |
| CIE-LAB | lab(35.13, 16.13, -50.45) |
| CIE-LCH | lch(35.13, 52.96, 287.73°) |
| OKLab | oklab(44.61% -0.0234 -0.1453) |
| OKLCH | oklch(44.61% 0.147 260.9) |
| XYZ | xyz(10.0595, 8.5624, 36.2373) |
| Luminance | 0.0856 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.82
Sapphire
#0F52BA
ΔE00 2.83
Cobalt (survey)
#1E488F
ΔE00 3.34
Dusk Blue
#26538D
ΔE00 3.49
Denim Blue
#3B5B92
ΔE00 4.90
Light Navy
#155084
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4FA4 #A4741F
analogous
#1F91A4 #1F4FA4 #321FA4
triadic
#1F4FA4 #A41F4F #4FA41F
tetradic
#1F4FA4 #A41F91 #A4741F #1FA432
square
#1F4FA4 #A41F91 #A4741F #1FA432
split-complementary
#1F4FA4 #A4321F #91A41F
monochromatic
#0C1D3D #153671 #1F4FA4 #2A68D7 #5D8CE0
Accessibility & contrast
On white
7.74
#1F4FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#1F4FA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4FA4
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4FA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4FA4 | 1.00 | 7.74 | 2.71 | 7.74 |
| #FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1759A7
Deuteranopia (green-blind)
#004DA2
Tritanopia (blue-blind)
#006472
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #1f4fa4; /* rgb */ color: rgb(31, 79, 164); /* oklch */ color: oklch(44.6% 0.147 260.9);
Tailwind
colors: {
custom: {
50: '#717fc0',
500: '#1f4fa4',
950: '#000000',
},
}SCSS
$custom: #1f4fa4; $custom-light: #717fc0; $custom-dark: #000000;
JSON
{
"hex": "#1f4fa4",
"rgb": {
"r": 31,
"g": 79,
"b": 164
},
"hsl": {
"h": 218.346,
"s": 68.205,
"l": 38.235
},
"oklch": {
"l": 0.44613,
"c": 0.14717,
"h": 260.9
},
"luminance": 0.08564
}Semantic roles & 50–950 ramp
primary
#1F4FA4
secondary
#C59E5A
accent
#AC3DEB
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81