#2F33A2#2F33A2
#2F33A2 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.7% C 0.175 H 273.5°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2F33A2 |
|---|---|
| RGB | rgb(47, 51, 162) |
| HSL | hsl(238, 55%, 41%) |
| HSV | hsv(238, 71%, 64%) |
| CMYK | cmyk(71%, 68.5%, 0%, 36.5%) |
| CIE-LAB | lab(28.33, 35.78, -60.30) |
| CIE-LCH | lch(28.33, 70.11, 300.68°) |
| OKLab | oklab(39.69% 0.0108 -0.1742) |
| OKLCH | oklch(39.69% 0.175 273.5) |
| XYZ | xyz(8.8755, 5.5798, 34.7847) |
| Luminance | 0.0558 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.38
Blueberry
#464196
ΔE00 5.33
Ocean Blue
#4F42B5
ΔE00 6.08
Darkslateblue
#483D8B
ΔE00 6.20
Indigo Blue
#3A18B1
ΔE00 6.37
Blue Blue
#2242C7
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F33A2 #A29E2F
analogous
#2F6CA2 #2F33A2 #642FA2
triadic
#2F33A2 #A22F33 #33A22F
tetradic
#2F33A2 #A22F6C #A29E2F #2FA264
square
#2F33A2 #A22F6C #A29E2F #2FA264
split-complementary
#2F33A2 #A2642F #6CA22F
monochromatic
#131543 #212473 #2F33A2 #454AC9 #7578D7
Accessibility & contrast
On white
9.92
#2F33A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#2F33A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F33A2
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F33A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F33A2 | 1.00 | 9.92 | 2.12 | 9.92 |
| #FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#003DA0
Tritanopia (blue-blind)
#005166
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2f33a2; /* rgb */ color: rgb(47, 51, 162); /* oklch */ color: oklch(39.7% 0.175 273.5);
Tailwind
colors: {
custom: {
50: '#786bbf',
500: '#2f33a2',
950: '#000000',
},
}SCSS
$custom: #2f33a2; $custom-light: #786bbf; $custom-dark: #000000;
JSON
{
"hex": "#2f33a2",
"rgb": {
"r": 47,
"g": 51,
"b": 162
},
"hsl": {
"h": 237.913,
"s": 55.024,
"l": 40.98
},
"oklch": {
"l": 0.3969,
"c": 0.17458,
"h": 273.5
},
"luminance": 0.05581
}Semantic roles & 50–950 ramp
primary
#2F33A2
secondary
#BFBC6E
accent
#D949DE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81