#1F4497#1F4497
#1F4497 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.2% C 0.143 H 263.4°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4497 |
|---|---|
| RGB | rgb(31, 68, 151) |
| HSL | hsl(222, 66%, 36%) |
| HSV | hsv(222, 79%, 59%) |
| CMYK | cmyk(79.5%, 55%, 0%, 40.8%) |
| CIE-LAB | lab(31.02, 18.42, -49.26) |
| CIE-LCH | lch(31.02, 52.59, 290.50°) |
| OKLab | oklab(41.18% -0.0165 -0.142) |
| OKLCH | oklch(41.18% 0.143 263.4) |
| XYZ | xyz(8.2161, 6.6590, 30.1244) |
| Luminance | 0.0666 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.25
Cobalt
#0047AB
ΔE00 2.90
Darkish Blue
#014182
ΔE00 4.23
Twilight Blue
#0A437A
ΔE00 5.24
Sapphire (survey)
#2138AB
ΔE00 5.68
Dusk Blue
#26538D
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4497 #97721F
analogous
#1F8097 #1F4497 #361F97
triadic
#1F4497 #971F44 #44971F
tetradic
#1F4497 #971F80 #97721F #1F9736
square
#1F4497 #971F80 #97721F #1F9736
split-complementary
#1F4497 #97361F #80971F
monochromatic
#0A1631 #152D64 #1F4497 #295BCA #547EDC
Accessibility & contrast
On white
9.01
#1F4497 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#1F4497 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4497
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4497 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4497 | 1.00 | 9.01 | 2.33 | 9.01 |
| #FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9A
Deuteranopia (green-blind)
#004495
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #1f4497; /* rgb */ color: rgb(31, 68, 151); /* oklch */ color: oklch(41.2% 0.143 263.4);
Tailwind
colors: {
custom: {
50: '#6e77b6',
500: '#1f4497',
950: '#000000',
},
}SCSS
$custom: #1f4497; $custom-light: #6e77b6; $custom-dark: #000000;
JSON
{
"hex": "#1f4497",
"rgb": {
"r": 31,
"g": 68,
"b": 151
},
"hsl": {
"h": 221.5,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.41181,
"c": 0.14297,
"h": 263.4
},
"luminance": 0.0666
}Semantic roles & 50–950 ramp
primary
#1F4497
secondary
#BF9E52
accent
#B43FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80