#1F4883#1F4883
#1F4883 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.6% C 0.109 H 257.9°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4883 |
|---|---|
| RGB | rgb(31, 72, 131) |
| HSL | hsl(215, 62%, 32%) |
| HSV | hsv(215, 76%, 51%) |
| CMYK | cmyk(76.3%, 45%, 0%, 48.6%) |
| CIE-LAB | lab(30.79, 7.67, -37.33) |
| CIE-LCH | lch(30.79, 38.11, 281.61°) |
| OKLab | oklab(40.56% -0.0229 -0.1068) |
| OKLCH | oklch(40.56% 0.109 257.9) |
| XYZ | xyz(6.9777, 6.5640, 22.3676) |
| Luminance | 0.0657 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.72
Twilight Blue
#0A437A
ΔE00 2.52
Darkish Blue
#014182
ΔE00 2.53
Prussian Blue
#004577
ΔE00 3.63
Dusk Blue
#26538D
ΔE00 3.71
Light Navy
#155084
ΔE00 3.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4883 #835A1F
analogous
#1F7A83 #1F4883 #281F83
triadic
#1F4883 #831F48 #48831F
tetradic
#1F4883 #831F7A #835A1F #1F8328
square
#1F4883 #831F7A #835A1F #1F8328
split-complementary
#1F4883 #83281F #7A831F
monochromatic
#081220 #132D52 #1F4883 #2B63B4 #4982D4
Accessibility & contrast
On white
9.08
#1F4883 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#1F4883 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4883
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4883 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4883 | 1.00 | 9.08 | 2.31 | 9.08 |
| #FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B4D85
Deuteranopia (green-blind)
#184482
Tritanopia (blue-blind)
#00565F
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1f4883; /* rgb */ color: rgb(31, 72, 131); /* oklch */ color: oklch(40.6% 0.109 257.9);
Tailwind
colors: {
custom: {
50: '#697aa7',
500: '#1f4883',
950: '#000000',
},
}SCSS
$custom: #1f4883; $custom-light: #697aa7; $custom-dark: #000000;
JSON
{
"hex": "#1f4883",
"rgb": {
"r": 31,
"g": 72,
"b": 131
},
"hsl": {
"h": 215.4,
"s": 61.728,
"l": 31.765
},
"oklch": {
"l": 0.4056,
"c": 0.10928,
"h": 257.9
},
"luminance": 0.06565
}Semantic roles & 50–950 ramp
primary
#1F4883
secondary
#B68948
accent
#A243E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F