#1F4BA6#1F4BA6
#1F4BA6 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.9% C 0.155 H 262.5°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4BA6 |
|---|---|
| RGB | rgb(31, 75, 166) |
| HSL | hsl(220, 69%, 39%) |
| HSV | hsv(220, 81%, 65%) |
| CMYK | cmyk(81.3%, 54.8%, 0%, 34.9%) |
| CIE-LAB | lab(34.14, 19.62, -53.25) |
| CIE-LCH | lch(34.14, 56.75, 290.23°) |
| OKLab | oklab(43.91% -0.0202 -0.1536) |
| OKLCH | oklch(43.91% 0.155 262.5) |
| XYZ | xyz(9.9616, 8.0754, 37.1027) |
| Luminance | 0.0808 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.67
Cobalt (survey)
#1E488F
ΔE00 3.25
Sapphire
#0F52BA
ΔE00 3.32
Dusk Blue
#26538D
ΔE00 4.72
Darkish Blue
#014182
ΔE00 6.00
Denim Blue
#3B5B92
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4BA6 #A67A1F
analogous
#1F8EA6 #1F4BA6 #361FA6
triadic
#1F4BA6 #A61F4B #4BA61F
tetradic
#1F4BA6 #A61F8E #A67A1F #1FA636
square
#1F4BA6 #A61F8E #A67A1F #1FA636
split-complementary
#1F4BA6 #A6361F #8EA61F
monochromatic
#0C1C3F #153472 #1F4BA6 #2B63D7 #5E89E1
Accessibility & contrast
On white
8.03
#1F4BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#1F4BA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4BA6
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4BA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4BA6 | 1.00 | 8.03 | 2.62 | 8.03 |
| #FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#004AA4
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #1f4ba6; /* rgb */ color: rgb(31, 75, 166); /* oklch */ color: oklch(43.9% 0.155 262.5);
Tailwind
colors: {
custom: {
50: '#727cc1',
500: '#1f4ba6',
950: '#000000',
},
}SCSS
$custom: #1f4ba6; $custom-light: #727cc1; $custom-dark: #000000;
JSON
{
"hex": "#1f4ba6",
"rgb": {
"r": 31,
"g": 75,
"b": 166
},
"hsl": {
"h": 220.444,
"s": 68.528,
"l": 38.627
},
"oklch": {
"l": 0.43908,
"c": 0.15494,
"h": 262.5
},
"luminance": 0.08077
}Semantic roles & 50–950 ramp
primary
#1F4BA6
secondary
#C5A35B
accent
#B23CEB
background
#F7F7FC
surface
#EDEEF8
border
#C8C9D1
text
#090912
muted
#7B7B81