#1F4991#1F4991
#1F4991 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.8% C 0.128 H 260.4°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4991 |
|---|---|
| RGB | rgb(31, 73, 145) |
| HSL | hsl(218, 65%, 35%) |
| HSV | hsv(218, 79%, 57%) |
| CMYK | cmyk(78.6%, 49.7%, 0%, 43.1%) |
| CIE-LAB | lab(32.03, 12.60, -43.95) |
| CIE-LCH | lch(32.03, 45.73, 285.99°) |
| OKLab | oklab(41.82% -0.0213 -0.1263) |
| OKLCH | oklch(41.82% 0.128 260.4) |
| XYZ | xyz(8.0566, 7.0998, 27.7284) |
| Luminance | 0.0710 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.39
Darkish Blue
#014182
ΔE00 3.51
Cobalt
#0047AB
ΔE00 3.56
Dusk Blue
#26538D
ΔE00 3.61
Twilight Blue
#0A437A
ΔE00 4.07
Light Navy
#155084
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4991 #91671F
analogous
#1F8291 #1F4991 #2E1F91
triadic
#1F4991 #911F49 #49911F
tetradic
#1F4991 #911F82 #91671F #1F912E
square
#1F4991 #911F82 #91671F #1F912E
split-complementary
#1F4991 #912E1F #82911F
monochromatic
#09162C #14305F #1F4991 #2A62C3 #5183DA
Accessibility & contrast
On white
8.68
#1F4991 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#1F4991 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4991
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4991 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4991 | 1.00 | 8.68 | 2.42 | 8.68 |
| #FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#205194
Deuteranopia (green-blind)
#004690
Tritanopia (blue-blind)
#005A66
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #1f4991; /* rgb */ color: rgb(31, 73, 145); /* oklch */ color: oklch(41.8% 0.128 260.4);
Tailwind
colors: {
custom: {
50: '#6d7bb2',
500: '#1f4991',
950: '#000000',
},
}SCSS
$custom: #1f4991; $custom-light: #6d7bb2; $custom-dark: #000000;
JSON
{
"hex": "#1f4991",
"rgb": {
"r": 31,
"g": 73,
"b": 145
},
"hsl": {
"h": 217.895,
"s": 64.773,
"l": 34.51
},
"oklch": {
"l": 0.41816,
"c": 0.12809,
"h": 260.4
},
"luminance": 0.07101
}Semantic roles & 50–950 ramp
primary
#1F4991
secondary
#BD944F
accent
#AA40E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80