#1F33A0#1F33A0
#1F33A0 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.6% C 0.176 H 268.1°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).
Color values
| HEX | #1F33A0 |
|---|---|
| RGB | rgb(31, 51, 160) |
| HSL | hsl(231, 68%, 37%) |
| HSV | hsv(231, 81%, 63%) |
| CMYK | cmyk(80.6%, 68.1%, 0%, 37.3%) |
| CIE-LAB | lab(27.29, 33.38, -60.82) |
| CIE-LCH | lch(27.29, 69.38, 298.76°) |
| OKLab | oklab(38.65% -0.0057 -0.1761) |
| OKLCH | oklch(38.65% 0.176 268.1) |
| XYZ | xyz(8.0919, 5.1961, 33.8274) |
| Luminance | 0.0520 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.98
Blueberry
#464196
ΔE00 6.15
Blue Blue
#2242C7
ΔE00 6.55
Royal
#0C1793
ΔE00 7.06
Darkslateblue
#483D8B
ΔE00 7.08
Cobalt
#0047AB
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F33A0 #A08C1F
analogous
#1F73A0 #1F33A0 #4C1FA0
triadic
#1F33A0 #A01F33 #33A01F
tetradic
#1F33A0 #A01F73 #A08C1F #1FA04C
square
#1F33A0 #A01F73 #A08C1F #1FA04C
split-complementary
#1F33A0 #A04C1F #73A01F
monochromatic
#0B1239 #15236D #1F33A0 #2943D3 #5A6FDF
Accessibility & contrast
On white
10.30
#1F33A0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#1F33A0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F33A0
10.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F33A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F33A0 | 1.00 | 10.30 | 2.04 | 10.30 |
| #FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A3
Deuteranopia (green-blind)
#003A9E
Tritanopia (blue-blind)
#005165
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #1f33a0; /* rgb */ color: rgb(31, 51, 160); /* oklch */ color: oklch(38.6% 0.176 268.1);
Tailwind
colors: {
custom: {
50: '#726bbd',
500: '#1f33a0',
950: '#000000',
},
}SCSS
$custom: #1f33a0; $custom-light: #726bbd; $custom-dark: #000000;
JSON
{
"hex": "#1f33a0",
"rgb": {
"r": 31,
"g": 51,
"b": 160
},
"hsl": {
"h": 230.698,
"s": 67.539,
"l": 37.451
},
"oklch": {
"l": 0.38646,
"c": 0.17624,
"h": 268.1
},
"luminance": 0.05197
}Semantic roles & 50–950 ramp
primary
#1F33A0
secondary
#C3B258
accent
#D03DEA
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81