#33398E#33398E
#33398E is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.2% C 0.139 H 274.9°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #33398E |
|---|---|
| RGB | rgb(51, 57, 142) |
| HSL | hsl(236, 47%, 38%) |
| HSV | hsv(236, 64%, 56%) |
| CMYK | cmyk(64.1%, 59.9%, 0%, 44.3%) |
| CIE-LAB | lab(28.33, 25.34, -48.05) |
| CIE-LCH | lch(28.33, 54.32, 297.81°) |
| OKLab | oklab(39.23% 0.012 -0.1382) |
| OKLCH | oklch(39.23% 0.139 274.9) |
| XYZ | xyz(7.7093, 5.5824, 26.2572) |
| Luminance | 0.0558 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.57
Darkslateblue
#483D8B
ΔE00 3.96
Sapphire (survey)
#2138AB
ΔE00 4.60
Cobalt (survey)
#1E488F
ΔE00 7.21
Ocean Blue
#4F42B5
ΔE00 7.35
Cobalt
#0047AB
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#33398E #8E8833
analogous
#33668E #33398E #5A338E
triadic
#33398E #8E3339 #398E33
tetradic
#33398E #8E3366 #8E8833 #338E5A
square
#33398E #8E3366 #8E8833 #338E5A
split-complementary
#33398E #8E5A33 #668E33
monochromatic
#131534 #232761 #33398E #434BBB #7076CC
Accessibility & contrast
On white
9.92
#33398E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#33398E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #33398E
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##33398E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##33398E | 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)
#004791
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #33398e; /* rgb */ color: rgb(51, 57, 142); /* oklch */ color: oklch(39.2% 0.139 274.9);
Tailwind
colors: {
custom: {
50: '#756fb0',
500: '#33398e',
950: '#000000',
},
}SCSS
$custom: #33398e; $custom-light: #756fb0; $custom-dark: #000000;
JSON
{
"hex": "#33398e",
"rgb": {
"r": 51,
"g": 57,
"b": 142
},
"hsl": {
"h": 236.044,
"s": 47.15,
"l": 37.843
},
"oklch": {
"l": 0.39227,
"c": 0.1387,
"h": 274.9
},
"luminance": 0.05583
}Semantic roles & 50–950 ramp
primary
#33398E
secondary
#B4AF69
accent
#CE51D7
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090710
muted
#7B7A7F