#1F4C99#1F4C99
#1F4C99 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.1% C 0.136 H 260.4°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4C99 |
|---|---|
| RGB | rgb(31, 76, 153) |
| HSL | hsl(218, 66%, 36%) |
| HSV | hsv(218, 80%, 60%) |
| CMYK | cmyk(79.7%, 50.3%, 0%, 40%) |
| CIE-LAB | lab(33.48, 13.77, -46.49) |
| CIE-LCH | lch(33.48, 48.49, 286.49°) |
| OKLab | oklab(43.1% -0.0225 -0.1337) |
| OKLCH | oklch(43.1% 0.136 260.4) |
| XYZ | xyz(8.8972, 7.7591, 31.1595) |
| Luminance | 0.0776 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.72
Cobalt
#0047AB
ΔE00 3.00
Dusk Blue
#26538D
ΔE00 3.12
Sapphire
#0F52BA
ΔE00 4.42
Light Navy
#155084
ΔE00 4.54
Darkish Blue
#014182
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4C99 #996C1F
analogous
#1F8999 #1F4C99 #2F1F99
triadic
#1F4C99 #991F4C #4C991F
tetradic
#1F4C99 #991F89 #996C1F #1F992F
square
#1F4C99 #991F89 #996C1F #1F992F
split-complementary
#1F4C99 #992F1F #89991F
monochromatic
#0A1933 #153366 #1F4C99 #2965CC #5687DD
Accessibility & contrast
On white
8.23
#1F4C99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#1F4C99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4C99
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4C99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4C99 | 1.00 | 8.23 | 2.55 | 8.23 |
| #FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E559C
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #1f4c99; /* rgb */ color: rgb(31, 76, 153); /* oklch */ color: oklch(43.1% 0.136 260.4);
Tailwind
colors: {
custom: {
50: '#6e7db8',
500: '#1f4c99',
950: '#000000',
},
}SCSS
$custom: #1f4c99; $custom-light: #6e7db8; $custom-dark: #000000;
JSON
{
"hex": "#1f4c99",
"rgb": {
"r": 31,
"g": 76,
"b": 153
},
"hsl": {
"h": 217.869,
"s": 66.304,
"l": 36.078
},
"oklch": {
"l": 0.43101,
"c": 0.13561,
"h": 260.4
},
"luminance": 0.0776
}Semantic roles & 50–950 ramp
primary
#1F4C99
secondary
#C09854
accent
#AA3FE9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80