#1F4791#1F4791
#1F4791 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.4% C 0.131 H 261.4°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4791 |
|---|---|
| RGB | rgb(31, 71, 145) |
| HSL | hsl(219, 65%, 35%) |
| HSV | hsv(219, 79%, 57%) |
| CMYK | cmyk(78.6%, 51%, 0%, 43.1%) |
| CIE-LAB | lab(31.44, 13.96, -44.91) |
| CIE-LCH | lch(31.44, 47.03, 287.27°) |
| OKLab | oklab(41.36% -0.0196 -0.1291) |
| OKLCH | oklch(41.36% 0.131 261.4) |
| XYZ | xyz(7.9273, 6.8412, 27.6853) |
| Luminance | 0.0684 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.62
Darkish Blue
#014182
ΔE00 3.39
Cobalt
#0047AB
ΔE00 3.46
Twilight Blue
#0A437A
ΔE00 4.14
Dusk Blue
#26538D
ΔE00 4.33
Light Navy
#155084
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4791 #91691F
analogous
#1F8091 #1F4791 #301F91
triadic
#1F4791 #911F47 #47911F
tetradic
#1F4791 #911F80 #91691F #1F9130
square
#1F4791 #911F80 #91691F #1F9130
split-complementary
#1F4791 #91301F #80911F
monochromatic
#09162C #142E5F #1F4791 #2A60C3 #5181DA
Accessibility & contrast
On white
8.87
#1F4791 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#1F4791 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4791
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4791 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4791 | 1.00 | 8.87 | 2.37 | 8.87 |
| #FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A5094
Deuteranopia (green-blind)
#004590
Tritanopia (blue-blind)
#005965
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #1f4791; /* rgb */ color: rgb(31, 71, 145); /* oklch */ color: oklch(41.4% 0.131 261.4);
Tailwind
colors: {
custom: {
50: '#6d79b2',
500: '#1f4791',
950: '#000000',
},
}SCSS
$custom: #1f4791; $custom-light: #6d79b2; $custom-dark: #000000;
JSON
{
"hex": "#1f4791",
"rgb": {
"r": 31,
"g": 71,
"b": 145
},
"hsl": {
"h": 218.947,
"s": 64.773,
"l": 34.51
},
"oklch": {
"l": 0.41364,
"c": 0.13063,
"h": 261.4
},
"luminance": 0.06842
}Semantic roles & 50–950 ramp
primary
#1F4791
secondary
#BD964F
accent
#AD40E8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80