#2F33A6#2F33A6
#2F33A6 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.1% C 0.180 H 273.3°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2F33A6 |
|---|---|
| RGB | rgb(47, 51, 166) |
| HSL | hsl(238, 56%, 42%) |
| HSV | hsv(238, 72%, 65%) |
| CMYK | cmyk(71.7%, 69.3%, 0%, 34.9%) |
| CIE-LAB | lab(28.71, 37.18, -62.09) |
| CIE-LCH | lch(28.71, 72.37, 300.91°) |
| OKLab | oklab(40.08% 0.0103 -0.1795) |
| OKLCH | oklch(40.08% 0.18 273.3) |
| XYZ | xyz(9.2367, 5.7243, 36.6871) |
| Luminance | 0.0573 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.23
Blueberry
#464196
ΔE00 5.57
Ocean Blue
#4F42B5
ΔE00 5.81
Blue Blue
#2242C7
ΔE00 6.04
Indigo Blue
#3A18B1
ΔE00 6.11
Darkslateblue
#483D8B
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F33A6 #A6A22F
analogous
#2F6FA6 #2F33A6 #672FA6
triadic
#2F33A6 #A62F33 #33A62F
tetradic
#2F33A6 #A62F6F #A6A22F #2FA667
square
#2F33A6 #A62F6F #A6A22F #2FA667
split-complementary
#2F33A6 #A6672F #6FA62F
monochromatic
#141647 #212476 #2F33A6 #474CCB #777AD8
Accessibility & contrast
On white
9.79
#2F33A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#2F33A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F33A6
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F33A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F33A6 | 1.00 | 9.79 | 2.15 | 9.79 |
| #FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049AA
Deuteranopia (green-blind)
#003EA4
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2f33a6; /* rgb */ color: rgb(47, 51, 166); /* oklch */ color: oklch(40.1% 0.180 273.3);
Tailwind
colors: {
custom: {
50: '#796bc1',
500: '#2f33a6',
950: '#000000',
},
}SCSS
$custom: #2f33a6; $custom-light: #796bc1; $custom-dark: #000000;
JSON
{
"hex": "#2f33a6",
"rgb": {
"r": 47,
"g": 51,
"b": 166
},
"hsl": {
"h": 237.983,
"s": 55.869,
"l": 41.765
},
"oklch": {
"l": 0.4008,
"c": 0.1798,
"h": 273.3
},
"luminance": 0.05725
}Semantic roles & 50–950 ramp
primary
#2F33A6
secondary
#C1BE70
accent
#DA49DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0712
muted
#7C7A81