#2F33AA#2F33AA
#2F33AA is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.5% C 0.185 H 273.0°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2F33AA |
|---|---|
| RGB | rgb(47, 51, 170) |
| HSL | hsl(238, 57%, 43%) |
| HSV | hsv(238, 72%, 67%) |
| CMYK | cmyk(72.4%, 70%, 0%, 33.3%) |
| CIE-LAB | lab(29.09, 38.57, -63.87) |
| CIE-LCH | lch(29.09, 74.61, 301.13°) |
| OKLab | oklab(40.47% 0.0098 -0.1847) |
| OKLCH | oklch(40.47% 0.185 273) |
| XYZ | xyz(9.6094, 5.8733, 38.6497) |
| Luminance | 0.0587 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.22
Ocean Blue
#4F42B5
ΔE00 5.59
Blue Blue
#2242C7
ΔE00 5.68
Blueberry
#464196
ΔE00 5.84
Indigo Blue
#3A18B1
ΔE00 5.92
Blue With A Hint Of Purple
#533CC6
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F33AA #AAA62F
analogous
#2F70AA #2F33AA #692FAA
triadic
#2F33AA #AA2F33 #33AA2F
tetradic
#2F33AA #AA2F70 #AAA62F #2FAA69
square
#2F33AA #AA2F70 #AAA62F #2FAA69
split-complementary
#2F33AA #AA692F #70AA2F
monochromatic
#14164A #22257A #2F33AA #494ECD #797CDA
Accessibility & contrast
On white
9.66
#2F33AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#2F33AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F33AA
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F33AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F33AA | 1.00 | 9.66 | 2.17 | 9.66 |
| #FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AAE
Deuteranopia (green-blind)
#003FA8
Tritanopia (blue-blind)
#00546A
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2f33aa; /* rgb */ color: rgb(47, 51, 170); /* oklch */ color: oklch(40.5% 0.185 273.0);
Tailwind
colors: {
custom: {
50: '#7a6bc4',
500: '#2f33aa',
950: '#000000',
},
}SCSS
$custom: #2f33aa; $custom-light: #7a6bc4; $custom-dark: #000000;
JSON
{
"hex": "#2f33aa",
"rgb": {
"r": 47,
"g": 51,
"b": 170
},
"hsl": {
"h": 238.049,
"s": 56.682,
"l": 42.549
},
"oklch": {
"l": 0.40474,
"c": 0.18494,
"h": 273
},
"luminance": 0.05874
}Semantic roles & 50–950 ramp
primary
#2F33AA
secondary
#C2C072
accent
#DB48E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82