#333992#333992
#333992 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.144 H 274.7°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #333992 |
|---|---|
| RGB | rgb(51, 57, 146) |
| HSL | hsl(236, 48%, 39%) |
| HSV | hsv(236, 65%, 57%) |
| CMYK | cmyk(65.1%, 61%, 0%, 42.7%) |
| CIE-LAB | lab(28.65, 26.78, -49.99) |
| CIE-LCH | lch(28.65, 56.71, 298.18°) |
| OKLab | oklab(39.57% 0.0119 -0.1439) |
| OKLCH | oklch(39.57% 0.144 274.7) |
| XYZ | xyz(8.0150, 5.7047, 27.8673) |
| Luminance | 0.0570 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.48
Sapphire (survey)
#2138AB
ΔE00 3.99
Darkslateblue
#483D8B
ΔE00 4.14
Ocean Blue
#4F42B5
ΔE00 6.84
Cobalt
#0047AB
ΔE00 7.27
Cobalt (survey)
#1E488F
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#333992 #928C33
analogous
#336892 #333992 #5C3392
triadic
#333992 #923339 #399233
tetradic
#333992 #923368 #928C33 #33925C
square
#333992 #923368 #928C33 #33925C
split-complementary
#333992 #925C33 #689233
monochromatic
#131637 #232765 #333992 #444CBE #7278CE
Accessibility & contrast
On white
9.81
#333992 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#333992 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #333992
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##333992 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##333992 | 1.00 | 9.81 | 2.14 | 9.81 |
| #FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004895
Deuteranopia (green-blind)
#003F90
Tritanopia (blue-blind)
#004F60
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #333992; /* rgb */ color: rgb(51, 57, 146); /* oklch */ color: oklch(39.6% 0.144 274.7);
Tailwind
colors: {
custom: {
50: '#766fb3',
500: '#333992',
950: '#000000',
},
}SCSS
$custom: #333992; $custom-light: #766fb3; $custom-dark: #000000;
JSON
{
"hex": "#333992",
"rgb": {
"r": 51,
"g": 57,
"b": 146
},
"hsl": {
"h": 236.211,
"s": 48.223,
"l": 38.627
},
"oklch": {
"l": 0.39566,
"c": 0.14438,
"h": 274.7
},
"luminance": 0.05705
}Semantic roles & 50–950 ramp
primary
#333992
secondary
#B6B16B
accent
#CF50D8
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80