#1F4898#1F4898
#1F4898 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.1% C 0.139 H 262.0°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4898 |
|---|---|
| RGB | rgb(31, 72, 152) |
| HSL | hsl(220, 66%, 36%) |
| HSV | hsv(220, 80%, 60%) |
| CMYK | cmyk(79.6%, 52.6%, 0%, 40.4%) |
| CIE-LAB | lab(32.24, 16.08, -47.88) |
| CIE-LCH | lch(32.24, 50.51, 288.57°) |
| OKLab | oklab(42.13% -0.0195 -0.1379) |
| OKLCH | oklch(42.13% 0.139 262) |
| XYZ | xyz(8.5479, 7.1920, 30.6374) |
| Luminance | 0.0719 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.39
Cobalt
#0047AB
ΔE00 2.61
Darkish Blue
#014182
ΔE00 4.20
Dusk Blue
#26538D
ΔE00 4.39
Twilight Blue
#0A437A
ΔE00 4.97
Sapphire
#0F52BA
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4898 #986F1F
analogous
#1F8498 #1F4898 #321F98
triadic
#1F4898 #981F48 #48981F
tetradic
#1F4898 #981F84 #986F1F #1F9832
square
#1F4898 #981F84 #986F1F #1F9832
split-complementary
#1F4898 #98321F #84981F
monochromatic
#0A1832 #153065 #1F4898 #2960CB #5583DC
Accessibility & contrast
On white
8.61
#1F4898 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#1F4898 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4898
8.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4898 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4898 | 1.00 | 8.61 | 2.44 | 8.61 |
| #FFFFFF | 8.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#12529B
Deuteranopia (green-blind)
#004796
Tritanopia (blue-blind)
#005B69
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #1f4898; /* rgb */ color: rgb(31, 72, 152); /* oklch */ color: oklch(42.1% 0.139 262.0);
Tailwind
colors: {
custom: {
50: '#6e7ab7',
500: '#1f4898',
950: '#000000',
},
}SCSS
$custom: #1f4898; $custom-light: #6e7ab7; $custom-dark: #000000;
JSON
{
"hex": "#1f4898",
"rgb": {
"r": 31,
"g": 72,
"b": 152
},
"hsl": {
"h": 219.669,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.42134,
"c": 0.13927,
"h": 262
},
"luminance": 0.07193
}Semantic roles & 50–950 ramp
primary
#1F4898
secondary
#C09B53
accent
#AF3FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80