#1F4BA7#1F4BA7
#1F4BA7 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.0% C 0.156 H 262.6°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4BA7 |
|---|---|
| RGB | rgb(31, 75, 167) |
| HSL | hsl(221, 69%, 39%) |
| HSV | hsv(221, 81%, 65%) |
| CMYK | cmyk(81.4%, 55.1%, 0%, 34.5%) |
| CIE-LAB | lab(34.22, 20.02, -53.72) |
| CIE-LCH | lch(34.22, 57.33, 290.44°) |
| OKLab | oklab(43.99% -0.0201 -0.155) |
| OKLCH | oklch(43.99% 0.156 262.6) |
| XYZ | xyz(10.0537, 8.1123, 37.5877) |
| Luminance | 0.0811 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.64
Sapphire
#0F52BA
ΔE00 3.25
Cobalt (survey)
#1E488F
ΔE00 3.39
Dusk Blue
#26538D
ΔE00 4.83
Blue Blue
#2242C7
ΔE00 5.99
Darkish Blue
#014182
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4BA7 #A77B1F
analogous
#1F8FA7 #1F4BA7 #371FA7
triadic
#1F4BA7 #A71F4B #4BA71F
tetradic
#1F4BA7 #A71F8F #A77B1F #1FA737
square
#1F4BA7 #A71F8F #A77B1F #1FA737
split-complementary
#1F4BA7 #A7371F #8FA71F
monochromatic
#0C1D40 #153473 #1F4BA7 #2B63D8 #5F89E1
Accessibility & contrast
On white
8.01
#1F4BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#1F4BA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4BA7
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4BA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4BA7 | 1.00 | 8.01 | 2.62 | 8.01 |
| #FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057AA
Deuteranopia (green-blind)
#004BA5
Tritanopia (blue-blind)
#006271
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #1f4ba7; /* rgb */ color: rgb(31, 75, 167); /* oklch */ color: oklch(44.0% 0.156 262.6);
Tailwind
colors: {
custom: {
50: '#727cc2',
500: '#1f4ba7',
950: '#000000',
},
}SCSS
$custom: #1f4ba7; $custom-light: #727cc2; $custom-dark: #000000;
JSON
{
"hex": "#1f4ba7",
"rgb": {
"r": 31,
"g": 75,
"b": 167
},
"hsl": {
"h": 220.588,
"s": 68.687,
"l": 38.824
},
"oklch": {
"l": 0.4399,
"c": 0.15631,
"h": 262.6
},
"luminance": 0.08113
}Semantic roles & 50–950 ramp
primary
#1F4BA7
secondary
#C6A45C
accent
#B33CEC
background
#F7F7FC
surface
#EDEEF8
border
#C8C9D1
text
#090912
muted
#7B7B81