#1F4585#1F4585
#1F4585 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.0% C 0.116 H 260.2°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4585 |
|---|---|
| RGB | rgb(31, 69, 133) |
| HSL | hsl(218, 62%, 32%) |
| HSV | hsv(218, 77%, 52%) |
| CMYK | cmyk(76.7%, 48.1%, 0%, 47.8%) |
| CIE-LAB | lab(30.01, 10.51, -39.83) |
| CIE-LCH | lch(30.01, 41.19, 284.79°) |
| OKLab | oklab(40% -0.0198 -0.1142) |
| OKLCH | oklch(40% 0.116 260.2) |
| XYZ | xyz(6.9253, 6.2402, 23.0253) |
| Luminance | 0.0624 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.55
Darkish Blue
#014182
ΔE00 2.32
Twilight Blue
#0A437A
ΔE00 2.90
Prussian Blue
#004577
ΔE00 4.36
Dusk Blue
#26538D
ΔE00 4.75
Cobalt
#0047AB
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4585 #855F1F
analogous
#1F7885 #1F4585 #2C1F85
triadic
#1F4585 #851F45 #45851F
tetradic
#1F4585 #851F78 #855F1F #1F852C
square
#1F4585 #851F78 #855F1F #1F852C
split-complementary
#1F4585 #852C1F #78851F
monochromatic
#081222 #132B53 #1F4585 #2B5FB7 #4A7DD5
Accessibility & contrast
On white
9.34
#1F4585 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#1F4585 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4585
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4585 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4585 | 1.00 | 9.34 | 2.25 | 9.34 |
| #FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234C87
Deuteranopia (green-blind)
#094284
Tritanopia (blue-blind)
#00545E
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #1f4585; /* rgb */ color: rgb(31, 69, 133); /* oklch */ color: oklch(40.0% 0.116 260.2);
Tailwind
colors: {
custom: {
50: '#6a78a9',
500: '#1f4585',
950: '#000000',
},
}SCSS
$custom: #1f4585; $custom-light: #6a78a9; $custom-dark: #000000;
JSON
{
"hex": "#1f4585",
"rgb": {
"r": 31,
"g": 69,
"b": 133
},
"hsl": {
"h": 217.647,
"s": 62.195,
"l": 32.157
},
"oklch": {
"l": 0.39999,
"c": 0.11594,
"h": 260.2
},
"luminance": 0.06241
}Semantic roles & 50–950 ramp
primary
#1F4585
secondary
#B78E49
accent
#A943E5
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F