#33277E#33277E
#33277E is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.5% C 0.140 H 282.5°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).
Color values
| HEX | #33277E |
|---|---|
| RGB | rgb(51, 39, 126) |
| HSL | hsl(248, 53%, 32%) |
| HSV | hsv(248, 69%, 49%) |
| CMYK | cmyk(59.5%, 69%, 0%, 50.6%) |
| CIE-LAB | lab(22.52, 31.45, -47.53) |
| CIE-LCH | lch(22.52, 57.00, 303.49°) |
| OKLab | oklab(34.54% 0.0303 -0.1368) |
| OKLCH | oklch(34.54% 0.14 282.5) |
| XYZ | xyz(5.8555, 3.6608, 20.1327) |
| Luminance | 0.0366 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.66
Royal
#0C1793
ΔE00 5.97
Darkslateblue
#483D8B
ΔE00 6.55
Indigo (survey)
#380282
ΔE00 6.97
Blueberry
#464196
ΔE00 7.82
Indigo
#4B0082
ΔE00 7.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#33277E #727E27
analogous
#27467E #33277E #5F277E
triadic
#33277E #7E3327 #277E33
tetradic
#33277E #7E2746 #727E27 #277E5F
square
#33277E #7E2746 #727E27 #277E5F
split-complementary
#33277E #7E5F27 #467E27
monochromatic
#0D0A21 #20194F #33277E #4635AD #6555CA
Accessibility & contrast
On white
12.12
#33277E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#33277E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #33277E
12.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##33277E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##33277E | 1.00 | 12.12 | 1.73 | 12.12 |
| #FFFFFF | 12.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#00337C
Tritanopia (blue-blind)
#093D4F
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #33277e; /* rgb */ color: rgb(51, 39, 126); /* oklch */ color: oklch(34.5% 0.140 282.5);
Tailwind
colors: {
custom: {
50: '#7362a4',
500: '#33277e',
950: '#000000',
},
}SCSS
$custom: #33277e; $custom-light: #7362a4; $custom-dark: #000000;
JSON
{
"hex": "#33277e",
"rgb": {
"r": 51,
"g": 39,
"b": 126
},
"hsl": {
"h": 248.276,
"s": 52.727,
"l": 32.353
},
"oklch": {
"l": 0.34543,
"c": 0.14007,
"h": 282.5
},
"luminance": 0.03661
}Semantic roles & 50–950 ramp
primary
#33277E
secondary
#A2AF52
accent
#DC4CC8
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#09050F
muted
#7B797F