#33277F#33277F
#33277F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.6% C 0.141 H 282.3°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).
Color values
| HEX | #33277F |
|---|---|
| RGB | rgb(51, 39, 127) |
| HSL | hsl(248, 53%, 33%) |
| HSV | hsv(248, 69%, 50%) |
| CMYK | cmyk(59.8%, 69.3%, 0%, 50.2%) |
| CIE-LAB | lab(22.61, 31.79, -48.02) |
| CIE-LCH | lch(22.61, 57.58, 303.51°) |
| OKLab | oklab(34.64% 0.0301 -0.1382) |
| OKLCH | oklch(34.64% 0.141 282.3) |
| XYZ | xyz(5.9203, 3.6868, 20.4742) |
| Luminance | 0.0369 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.70
Royal
#0C1793
ΔE00 5.85
Darkslateblue
#483D8B
ΔE00 6.54
Indigo (survey)
#380282
ΔE00 6.92
Blueberry
#464196
ΔE00 7.77
Indigo
#4B0082
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#33277F #737F27
analogous
#27477F #33277F #5F277F
triadic
#33277F #7F3327 #277F33
tetradic
#33277F #7F2747 #737F27 #277F5F
square
#33277F #7F2747 #737F27 #277F5F
split-complementary
#33277F #7F5F27 #477F27
monochromatic
#0D0A21 #201950 #33277F #4635AE #6555CB
Accessibility & contrast
On white
12.09
#33277F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#33277F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #33277F
12.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##33277F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##33277F | 1.00 | 12.09 | 1.74 | 12.09 |
| #FFFFFF | 12.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003982
Deuteranopia (green-blind)
#00337D
Tritanopia (blue-blind)
#073E4F
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #33277f; /* rgb */ color: rgb(51, 39, 127); /* oklch */ color: oklch(34.6% 0.141 282.3);
Tailwind
colors: {
custom: {
50: '#7462a5',
500: '#33277f',
950: '#000000',
},
}SCSS
$custom: #33277f; $custom-light: #7462a5; $custom-dark: #000000;
JSON
{
"hex": "#33277f",
"rgb": {
"r": 51,
"g": 39,
"b": 127
},
"hsl": {
"h": 248.182,
"s": 53.012,
"l": 32.549
},
"oklch": {
"l": 0.34637,
"c": 0.14143,
"h": 282.3
},
"luminance": 0.03687
}Semantic roles & 50–950 ramp
primary
#33277F
secondary
#A3B052
accent
#DC4BC9
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#09050F
muted
#7B797F