#2F33A4#2F33A4
#2F33A4 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.9% C 0.177 H 273.4°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2F33A4 |
|---|---|
| RGB | rgb(47, 51, 164) |
| HSL | hsl(238, 55%, 41%) |
| HSV | hsv(238, 71%, 64%) |
| CMYK | cmyk(71.3%, 68.9%, 0%, 35.7%) |
| CIE-LAB | lab(28.52, 36.48, -61.20) |
| CIE-LCH | lch(28.52, 71.25, 300.80°) |
| OKLab | oklab(39.88% 0.0106 -0.1769) |
| OKLCH | oklch(39.88% 0.177 273.4) |
| XYZ | xyz(9.0547, 5.6514, 35.7284) |
| Luminance | 0.0565 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.29
Blueberry
#464196
ΔE00 5.45
Ocean Blue
#4F42B5
ΔE00 5.94
Blue Blue
#2242C7
ΔE00 6.23
Indigo Blue
#3A18B1
ΔE00 6.23
Darkslateblue
#483D8B
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F33A4 #A4A02F
analogous
#2F6EA4 #2F33A4 #662FA4
triadic
#2F33A4 #A42F33 #33A42F
tetradic
#2F33A4 #A42F6E #A4A02F #2FA466
square
#2F33A4 #A42F6E #A4A02F #2FA466
split-complementary
#2F33A4 #A4662F #6EA42F
monochromatic
#141545 #212474 #2F33A4 #464BCA #7679D8
Accessibility & contrast
On white
9.86
#2F33A4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#2F33A4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F33A4
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F33A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F33A4 | 1.00 | 9.86 | 2.13 | 9.86 |
| #FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049A7
Deuteranopia (green-blind)
#003EA2
Tritanopia (blue-blind)
#005267
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2f33a4; /* rgb */ color: rgb(47, 51, 164); /* oklch */ color: oklch(39.9% 0.177 273.4);
Tailwind
colors: {
custom: {
50: '#796bc0',
500: '#2f33a4',
950: '#000000',
},
}SCSS
$custom: #2f33a4; $custom-light: #796bc0; $custom-dark: #000000;
JSON
{
"hex": "#2f33a4",
"rgb": {
"r": 47,
"g": 51,
"b": 164
},
"hsl": {
"h": 237.949,
"s": 55.45,
"l": 41.373
},
"oklch": {
"l": 0.39884,
"c": 0.1772,
"h": 273.4
},
"luminance": 0.05652
}Semantic roles & 50–950 ramp
primary
#2F33A4
secondary
#C0BD6F
accent
#DA49DF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81