#1F4BAE#1F4BAE
#1F4BAE is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.6% C 0.166 H 263.2°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4BAE |
|---|---|
| RGB | rgb(31, 75, 174) |
| HSL | hsl(222, 70%, 40%) |
| HSV | hsv(222, 82%, 68%) |
| CMYK | cmyk(82.2%, 56.9%, 0%, 31.8%) |
| CIE-LAB | lab(34.76, 22.78, -57.01) |
| CIE-LCH | lch(34.76, 61.39, 291.78°) |
| OKLab | oklab(44.57% -0.0196 -0.1647) |
| OKLCH | oklch(44.57% 0.166 263.2) |
| XYZ | xyz(10.7184, 8.3782, 41.0884) |
| Luminance | 0.0838 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.78
Sapphire
#0F52BA
ΔE00 2.88
Cobalt (survey)
#1E488F
ΔE00 4.38
Blue Blue
#2242C7
ΔE00 5.08
Dusk Blue
#26538D
ΔE00 5.61
Sapphire (survey)
#2138AB
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4BAE #AE821F
analogous
#1F93AE #1F4BAE #3A1FAE
triadic
#1F4BAE #AE1F4B #4BAE1F
tetradic
#1F4BAE #AE1F93 #AE821F #1FAE3A
square
#1F4BAE #AE1F93 #AE821F #1FAE3A
split-complementary
#1F4BAE #AE3A1F #93AE1F
monochromatic
#0C1E46 #16357A #1F4BAE #3064DA #648BE3
Accessibility & contrast
On white
7.85
#1F4BAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#1F4BAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4BAE
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4BAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4BAE | 1.00 | 7.85 | 2.68 | 7.85 |
| #FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B1
Deuteranopia (green-blind)
#004BAC
Tritanopia (blue-blind)
#006475
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #1f4bae; /* rgb */ color: rgb(31, 75, 174); /* oklch */ color: oklch(44.6% 0.166 263.2);
Tailwind
colors: {
custom: {
50: '#747cc7',
500: '#1f4bae',
950: '#000000',
},
}SCSS
$custom: #1f4bae; $custom-light: #747cc7; $custom-dark: #000000;
JSON
{
"hex": "#1f4bae",
"rgb": {
"r": 31,
"g": 75,
"b": 174
},
"hsl": {
"h": 221.538,
"s": 69.756,
"l": 40.196
},
"oklch": {
"l": 0.44571,
"c": 0.16584,
"h": 263.2
},
"luminance": 0.08379
}Semantic roles & 50–950 ramp
primary
#1F4BAE
secondary
#C8A860
accent
#B63BED
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82