#333C90#333C90
#333C90 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.0% C 0.138 H 273.8°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).
Color values
| HEX | #333C90 |
|---|---|
| RGB | rgb(51, 60, 144) |
| HSL | hsl(234, 48%, 38%) |
| HSV | hsv(234, 65%, 56%) |
| CMYK | cmyk(64.6%, 58.3%, 0%, 43.5%) |
| CIE-LAB | lab(29.28, 24.06, -47.74) |
| CIE-LCH | lch(29.28, 53.46, 296.75°) |
| OKLab | oklab(39.98% 0.0091 -0.1372) |
| OKLCH | oklch(39.98% 0.138 273.8) |
| XYZ | xyz(8.0135, 5.9485, 27.1060) |
| Luminance | 0.0595 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.32
Darkslateblue
#483D8B
ΔE00 4.16
Sapphire (survey)
#2138AB
ΔE00 4.50
Cobalt (survey)
#1E488F
ΔE00 6.34
Cobalt
#0047AB
ΔE00 6.70
Ocean Blue
#4F42B5
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#333C90 #908733
analogous
#336A90 #333C90 #593390
triadic
#333C90 #90333C #3C9033
tetradic
#333C90 #90336A #908733 #339059
square
#333C90 #90336A #908733 #339059
split-complementary
#333C90 #905933 #6A9033
monochromatic
#131636 #232963 #333C90 #444FBD #717ACD
Accessibility & contrast
On white
9.59
#333C90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#333C90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #333C90
9.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##333C90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##333C90 | 1.00 | 9.59 | 2.19 | 9.59 |
| #FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004993
Deuteranopia (green-blind)
#00418E
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #333c90; /* rgb */ color: rgb(51, 60, 144); /* oklch */ color: oklch(40.0% 0.138 273.8);
Tailwind
colors: {
custom: {
50: '#7571b1',
500: '#333c90',
950: '#000000',
},
}SCSS
$custom: #333c90; $custom-light: #7571b1; $custom-dark: #000000;
JSON
{
"hex": "#333c90",
"rgb": {
"r": 51,
"g": 60,
"b": 144
},
"hsl": {
"h": 234.194,
"s": 47.692,
"l": 38.235
},
"oklch": {
"l": 0.39981,
"c": 0.13755,
"h": 273.8
},
"luminance": 0.05949
}Semantic roles & 50–950 ramp
primary
#333C90
secondary
#B5AD6A
accent
#CA51D7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80