#1F34B0#1F34B0
#1F34B0 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.4% C 0.196 H 267.8°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #1F34B0 |
|---|---|
| RGB | rgb(31, 52, 176) |
| HSL | hsl(231, 70%, 41%) |
| HSV | hsv(231, 82%, 69%) |
| CMYK | cmyk(82.4%, 70.5%, 0%, 31%) |
| CIE-LAB | lab(29.11, 38.63, -67.46) |
| CIE-LCH | lch(29.11, 77.74, 299.80°) |
| OKLab | oklab(40.45% -0.0074 -0.1955) |
| OKLCH | oklch(40.45% 0.196 267.8) |
| XYZ | xyz(9.6268, 5.8807, 41.6936) |
| Luminance | 0.0588 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.40
Blue Blue
#2242C7
ΔE00 4.86
Ocean Blue
#4F42B5
ΔE00 6.23
Indigo Blue
#3A18B1
ΔE00 6.70
Blueberry
#464196
ΔE00 6.74
Blue With A Hint Of Purple
#533CC6
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F34B0 #B09B1F
analogous
#1F7DB0 #1F34B0 #521FB0
triadic
#1F34B0 #B01F34 #34B01F
tetradic
#1F34B0 #B01F7D #B09B1F #1FB052
square
#1F34B0 #B01F7D #B09B1F #1FB052
split-complementary
#1F34B0 #B0521F #7DB01F
monochromatic
#0D1548 #16257C #1F34B0 #314ADB #6578E4
Accessibility & contrast
On white
9.65
#1F34B0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#1F34B0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F34B0
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F34B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F34B0 | 1.00 | 9.65 | 2.18 | 9.65 |
| #FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CB4
Deuteranopia (green-blind)
#003EAE
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #1f34b0; /* rgb */ color: rgb(31, 52, 176); /* oklch */ color: oklch(40.4% 0.196 267.8);
Tailwind
colors: {
custom: {
50: '#766cc9',
500: '#1f34b0',
950: '#000000',
},
}SCSS
$custom: #1f34b0; $custom-light: #766cc9; $custom-dark: #000000;
JSON
{
"hex": "#1f34b0",
"rgb": {
"r": 31,
"g": 52,
"b": 176
},
"hsl": {
"h": 231.31,
"s": 70.048,
"l": 40.588
},
"oklch": {
"l": 0.40448,
"c": 0.19562,
"h": 267.8
},
"luminance": 0.05882
}Semantic roles & 50–950 ramp
primary
#1F34B0
secondary
#C9BA62
accent
#D33BED
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0713
muted
#7C7A82