#1F3BAE#1F3BAE
#1F3BAE is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.5% C 0.185 H 266.8°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3BAE |
|---|---|
| RGB | rgb(31, 59, 174) |
| HSL | hsl(228, 70%, 40%) |
| HSV | hsv(228, 82%, 68%) |
| CMYK | cmyk(82.2%, 66.1%, 0%, 31.8%) |
| CIE-LAB | lab(30.58, 33.42, -63.85) |
| CIE-LCH | lch(30.58, 72.06, 297.63°) |
| OKLab | oklab(41.46% -0.0104 -0.1849) |
| OKLCH | oklch(41.46% 0.185 266.8) |
| XYZ | xyz(9.7663, 6.4741, 40.7711) |
| Luminance | 0.0648 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 0.98
Blue Blue
#2242C7
ΔE00 3.83
Cobalt
#0047AB
ΔE00 5.03
Ocean Blue
#4F42B5
ΔE00 5.93
Blueberry
#464196
ΔE00 6.03
Blue (survey)
#0343DF
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3BAE #AE921F
analogous
#1F82AE #1F3BAE #4B1FAE
triadic
#1F3BAE #AE1F3B #3BAE1F
tetradic
#1F3BAE #AE1F82 #AE921F #1FAE4B
square
#1F3BAE #AE1F82 #AE921F #1FAE4B
split-complementary
#1F3BAE #AE4B1F #82AE1F
monochromatic
#0C1846 #16297A #1F3BAE #3051DA #647DE3
Accessibility & contrast
On white
9.15
#1F3BAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#1F3BAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3BAE
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3BAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3BAE | 1.00 | 9.15 | 2.30 | 9.15 |
| #FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0041AC
Tritanopia (blue-blind)
#005A6F
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1f3bae; /* rgb */ color: rgb(31, 59, 174); /* oklch */ color: oklch(41.5% 0.185 266.8);
Tailwind
colors: {
custom: {
50: '#7571c7',
500: '#1f3bae',
950: '#000000',
},
}SCSS
$custom: #1f3bae; $custom-light: #7571c7; $custom-dark: #000000;
JSON
{
"hex": "#1f3bae",
"rgb": {
"r": 31,
"g": 59,
"b": 174
},
"hsl": {
"h": 228.252,
"s": 69.756,
"l": 40.196
},
"oklch": {
"l": 0.4146,
"c": 0.18521,
"h": 266.8
},
"luminance": 0.06475
}Semantic roles & 50–950 ramp
primary
#1F3BAE
secondary
#C8B460
accent
#CA3BED
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82