#1F4E98#1F4E98
#1F4E98 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.5% C 0.132 H 259.3°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4E98 |
|---|---|
| RGB | rgb(31, 78, 152) |
| HSL | hsl(217, 66%, 36%) |
| HSV | hsv(217, 80%, 60%) |
| CMYK | cmyk(79.6%, 48.7%, 0%, 40.4%) |
| CIE-LAB | lab(34.00, 12.02, -45.05) |
| CIE-LCH | lch(34.00, 46.63, 284.94°) |
| OKLab | oklab(43.48% -0.0243 -0.1294) |
| OKLCH | oklch(43.48% 0.132 259.3) |
| XYZ | xyz(8.9549, 8.0060, 30.7730) |
| Luminance | 0.0801 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.18
Dusk Blue
#26538D
ΔE00 2.39
Cobalt
#0047AB
ΔE00 3.57
Light Navy
#155084
ΔE00 3.98
Sapphire
#0F52BA
ΔE00 4.34
Denim Blue
#3B5B92
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4E98 #98691F
analogous
#1F8A98 #1F4E98 #2C1F98
triadic
#1F4E98 #981F4E #4E981F
tetradic
#1F4E98 #981F8A #98691F #1F982C
square
#1F4E98 #981F8A #98691F #1F982C
split-complementary
#1F4E98 #982C1F #8A981F
monochromatic
#0A1A32 #153465 #1F4E98 #2968CB #558ADC
Accessibility & contrast
On white
8.07
#1F4E98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#1F4E98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4E98
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4E98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4E98 | 1.00 | 8.07 | 2.60 | 8.07 |
| #FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24569B
Deuteranopia (green-blind)
#004B97
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #1f4e98; /* rgb */ color: rgb(31, 78, 152); /* oklch */ color: oklch(43.5% 0.132 259.3);
Tailwind
colors: {
custom: {
50: '#6e7fb7',
500: '#1f4e98',
950: '#000000',
},
}SCSS
$custom: #1f4e98; $custom-light: #6e7fb7; $custom-dark: #000000;
JSON
{
"hex": "#1f4e98",
"rgb": {
"r": 31,
"g": 78,
"b": 152
},
"hsl": {
"h": 216.694,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.43478,
"c": 0.13171,
"h": 259.3
},
"luminance": 0.08007
}Semantic roles & 50–950 ramp
primary
#1F4E98
secondary
#C09653
accent
#A73FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80