#1F4A98#1F4A98
#1F4A98 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.6% C 0.137 H 261.1°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4A98 |
|---|---|
| RGB | rgb(31, 74, 152) |
| HSL | hsl(219, 66%, 36%) |
| HSV | hsv(219, 80%, 60%) |
| CMYK | cmyk(79.6%, 51.3%, 0%, 40.4%) |
| CIE-LAB | lab(32.82, 14.72, -46.95) |
| CIE-LCH | lch(32.82, 49.20, 287.41°) |
| OKLab | oklab(42.58% -0.0211 -0.1351) |
| OKLCH | oklch(42.58% 0.137 261.1) |
| XYZ | xyz(8.6793, 7.4549, 30.6812) |
| Luminance | 0.0746 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.32
Cobalt
#0047AB
ΔE00 2.78
Dusk Blue
#26538D
ΔE00 3.71
Darkish Blue
#014182
ΔE00 4.31
Sapphire
#0F52BA
ΔE00 4.81
Twilight Blue
#0A437A
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4A98 #986D1F
analogous
#1F8698 #1F4A98 #311F98
triadic
#1F4A98 #981F4A #4A981F
tetradic
#1F4A98 #981F86 #986D1F #1F9831
square
#1F4A98 #981F86 #986D1F #1F9831
split-complementary
#1F4A98 #98311F #86981F
monochromatic
#0A1932 #153165 #1F4A98 #2963CB #5585DC
Accessibility & contrast
On white
8.43
#1F4A98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#1F4A98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4A98
8.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4A98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4A98 | 1.00 | 8.43 | 2.49 | 8.43 |
| #FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#19539B
Deuteranopia (green-blind)
#004896
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #1f4a98; /* rgb */ color: rgb(31, 74, 152); /* oklch */ color: oklch(42.6% 0.137 261.1);
Tailwind
colors: {
custom: {
50: '#6e7bb7',
500: '#1f4a98',
950: '#000000',
},
}SCSS
$custom: #1f4a98; $custom-light: #6e7bb7; $custom-dark: #000000;
JSON
{
"hex": "#1f4a98",
"rgb": {
"r": 31,
"g": 74,
"b": 152
},
"hsl": {
"h": 218.678,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.42577,
"c": 0.13673,
"h": 261.1
},
"luminance": 0.07456
}Semantic roles & 50–950 ramp
primary
#1F4A98
secondary
#C09953
accent
#AD3FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80