#1F4783#1F4783
#1F4783 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.3% C 0.111 H 258.5°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4783 |
|---|---|
| RGB | rgb(31, 71, 131) |
| HSL | hsl(216, 62%, 32%) |
| HSV | hsv(216, 76%, 51%) |
| CMYK | cmyk(76.3%, 45.8%, 0%, 48.6%) |
| CIE-LAB | lab(30.49, 8.35, -37.82) |
| CIE-LCH | lch(30.49, 38.73, 282.44°) |
| OKLab | oklab(40.32% -0.022 -0.1083) |
| OKLCH | oklch(40.32% 0.111 258.5) |
| XYZ | xyz(6.9136, 6.4357, 22.3462) |
| Luminance | 0.0644 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.65
Darkish Blue
#014182
ΔE00 2.37
Twilight Blue
#0A437A
ΔE00 2.52
Prussian Blue
#004577
ΔE00 3.77
Dusk Blue
#26538D
ΔE00 4.05
Light Navy
#155084
ΔE00 4.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4783 #835B1F
analogous
#1F7983 #1F4783 #291F83
triadic
#1F4783 #831F47 #47831F
tetradic
#1F4783 #831F79 #835B1F #1F8329
square
#1F4783 #831F79 #835B1F #1F8329
split-complementary
#1F4783 #83291F #79831F
monochromatic
#081120 #132C52 #1F4783 #2B62B4 #4980D4
Accessibility & contrast
On white
9.18
#1F4783 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#1F4783 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4783
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4783 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4783 | 1.00 | 9.18 | 2.29 | 9.18 |
| #FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#294D85
Deuteranopia (green-blind)
#154482
Tritanopia (blue-blind)
#00555E
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1f4783; /* rgb */ color: rgb(31, 71, 131); /* oklch */ color: oklch(40.3% 0.111 258.5);
Tailwind
colors: {
custom: {
50: '#6979a7',
500: '#1f4783',
950: '#000000',
},
}SCSS
$custom: #1f4783; $custom-light: #6979a7; $custom-dark: #000000;
JSON
{
"hex": "#1f4783",
"rgb": {
"r": 31,
"g": 71,
"b": 131
},
"hsl": {
"h": 216,
"s": 61.728,
"l": 31.765
},
"oklch": {
"l": 0.40322,
"c": 0.11052,
"h": 258.5
},
"luminance": 0.06436
}Semantic roles & 50–950 ramp
primary
#1F4783
secondary
#B68A48
accent
#A443E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F