#33398F#33398F
#33398F is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.3% C 0.140 H 274.9°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #33398F |
|---|---|
| RGB | rgb(51, 57, 143) |
| HSL | hsl(236, 47%, 38%) |
| HSV | hsv(236, 64%, 56%) |
| CMYK | cmyk(64.3%, 60.1%, 0%, 43.9%) |
| CIE-LAB | lab(28.41, 25.70, -48.54) |
| CIE-LCH | lch(28.41, 54.92, 297.90°) |
| OKLab | oklab(39.31% 0.012 -0.1396) |
| OKLCH | oklch(39.31% 0.14 274.9) |
| XYZ | xyz(7.7847, 5.6126, 26.6544) |
| Luminance | 0.0561 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.54
Darkslateblue
#483D8B
ΔE00 4.00
Sapphire (survey)
#2138AB
ΔE00 4.44
Ocean Blue
#4F42B5
ΔE00 7.22
Cobalt (survey)
#1E488F
ΔE00 7.23
Cobalt
#0047AB
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#33398F #8F8933
analogous
#33678F #33398F #5B338F
triadic
#33398F #8F3339 #398F33
tetradic
#33398F #8F3367 #8F8933 #338F5B
square
#33398F #8F3367 #8F8933 #338F5B
split-complementary
#33398F #8F5B33 #678F33
monochromatic
#131535 #232762 #33398F #434BBC #7076CC
Accessibility & contrast
On white
9.89
#33398F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#33398F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #33398F
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##33398F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##33398F | 1.00 | 9.89 | 2.12 | 9.89 |
| #FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #33398f; /* rgb */ color: rgb(51, 57, 143); /* oklch */ color: oklch(39.3% 0.140 274.9);
Tailwind
colors: {
custom: {
50: '#756fb0',
500: '#33398f',
950: '#000000',
},
}SCSS
$custom: #33398f; $custom-light: #756fb0; $custom-dark: #000000;
JSON
{
"hex": "#33398f",
"rgb": {
"r": 51,
"g": 57,
"b": 143
},
"hsl": {
"h": 236.087,
"s": 47.423,
"l": 38.039
},
"oklch": {
"l": 0.39311,
"c": 0.14012,
"h": 274.9
},
"luminance": 0.05613
}Semantic roles & 50–950 ramp
primary
#33398F
secondary
#B4AF6A
accent
#CE51D7
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#090711
muted
#7B7A80