#1F4996#1F4996
#1F4996 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.2% C 0.135 H 261.3°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4996 |
|---|---|
| RGB | rgb(31, 73, 150) |
| HSL | hsl(219, 66%, 35%) |
| HSV | hsv(219, 79%, 59%) |
| CMYK | cmyk(79.3%, 51.3%, 0%, 41.2%) |
| CIE-LAB | lab(32.39, 14.60, -46.43) |
| CIE-LCH | lch(32.39, 48.68, 287.46°) |
| OKLab | oklab(42.2% -0.0206 -0.1336) |
| OKLCH | oklch(42.2% 0.135 261.3) |
| XYZ | xyz(8.4507, 7.2574, 29.8037) |
| Luminance | 0.0726 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.02
Cobalt
#0047AB
ΔE00 2.92
Dusk Blue
#26538D
ΔE00 3.91
Darkish Blue
#014182
ΔE00 4.02
Twilight Blue
#0A437A
ΔE00 4.69
Light Navy
#155084
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4996 #966C1F
analogous
#1F8496 #1F4996 #311F96
triadic
#1F4996 #961F49 #49961F
tetradic
#1F4996 #961F84 #966C1F #1F9631
square
#1F4996 #961F84 #966C1F #1F9631
split-complementary
#1F4996 #96311F #84961F
monochromatic
#0A1831 #153063 #1F4996 #2962C9 #5484DC
Accessibility & contrast
On white
8.57
#1F4996 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#1F4996 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4996
8.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4996 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4996 | 1.00 | 8.57 | 2.45 | 8.57 |
| #FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#195299
Deuteranopia (green-blind)
#004794
Tritanopia (blue-blind)
#005C68
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #1f4996; /* rgb */ color: rgb(31, 73, 150); /* oklch */ color: oklch(42.2% 0.135 261.3);
Tailwind
colors: {
custom: {
50: '#6e7bb5',
500: '#1f4996',
950: '#000000',
},
}SCSS
$custom: #1f4996; $custom-light: #6e7bb5; $custom-dark: #000000;
JSON
{
"hex": "#1f4996",
"rgb": {
"r": 31,
"g": 73,
"b": 150
},
"hsl": {
"h": 218.824,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.42199,
"c": 0.13518,
"h": 261.3
},
"luminance": 0.07258
}Semantic roles & 50–950 ramp
primary
#1F4996
secondary
#BF9852
accent
#AD3FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80