#1F33A8#1F33A8
#1F33A8 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.5% C 0.187 H 268.1°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).
Color values
| HEX | #1F33A8 |
|---|---|
| RGB | rgb(31, 51, 168) |
| HSL | hsl(231, 69%, 39%) |
| HSV | hsv(231, 82%, 66%) |
| CMYK | cmyk(81.5%, 69.6%, 0%, 34.1%) |
| CIE-LAB | lab(28.07, 36.34, -64.37) |
| CIE-LCH | lch(28.07, 73.92, 299.45°) |
| OKLab | oklab(39.46% -0.0063 -0.1865) |
| OKLCH | oklch(39.46% 0.187 268.1) |
| XYZ | xyz(8.8143, 5.4851, 37.6324) |
| Luminance | 0.0549 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.45
Blue Blue
#2242C7
ΔE00 5.75
Blueberry
#464196
ΔE00 6.44
Ocean Blue
#4F42B5
ΔE00 6.75
Indigo Blue
#3A18B1
ΔE00 6.82
Cobalt
#0047AB
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F33A8 #A8941F
analogous
#1F78A8 #1F33A8 #501FA8
triadic
#1F33A8 #A81F33 #33A81F
tetradic
#1F33A8 #A81F78 #A8941F #1FA850
square
#1F33A8 #A81F78 #A8941F #1FA850
split-complementary
#1F33A8 #A8501F #78A81F
monochromatic
#0C1441 #152374 #1F33A8 #2C45D8 #6073E2
Accessibility & contrast
On white
10.01
#1F33A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#1F33A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F33A8
10.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F33A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F33A8 | 1.00 | 10.01 | 2.10 | 10.01 |
| #FFFFFF | 10.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049AC
Deuteranopia (green-blind)
#003CA6
Tritanopia (blue-blind)
#005369
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #1f33a8; /* rgb */ color: rgb(31, 51, 168); /* oklch */ color: oklch(39.5% 0.187 268.1);
Tailwind
colors: {
custom: {
50: '#746bc3',
500: '#1f33a8',
950: '#000000',
},
}SCSS
$custom: #1f33a8; $custom-light: #746bc3; $custom-dark: #000000;
JSON
{
"hex": "#1f33a8",
"rgb": {
"r": 31,
"g": 51,
"b": 168
},
"hsl": {
"h": 231.241,
"s": 68.844,
"l": 39.02
},
"oklch": {
"l": 0.39457,
"c": 0.18658,
"h": 268.1
},
"luminance": 0.05486
}Semantic roles & 50–950 ramp
primary
#1F33A8
secondary
#C6B75D
accent
#D23CEC
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82