#333C88#333C88
#333C88 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.3% C 0.126 H 274.0°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #333C88 |
|---|---|
| RGB | rgb(51, 60, 136) |
| HSL | hsl(234, 45%, 37%) |
| HSV | hsv(234, 63%, 53%) |
| CMYK | cmyk(62.5%, 55.9%, 0%, 46.7%) |
| CIE-LAB | lab(28.68, 21.16, -43.79) |
| CIE-LCH | lch(28.68, 48.63, 295.80°) |
| OKLab | oklab(39.34% 0.0088 -0.1256) |
| OKLCH | oklch(39.34% 0.126 274) |
| XYZ | xyz(7.4236, 5.7125, 23.9992) |
| Luminance | 0.0571 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.86
Darkslateblue
#483D8B
ΔE00 4.12
Sapphire (survey)
#2138AB
ΔE00 5.77
Cobalt (survey)
#1E488F
ΔE00 6.26
Darkish Blue
#014182
ΔE00 7.16
Cobalt
#0047AB
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#333C88 #887F33
analogous
#336788 #333C88 #553388
triadic
#333C88 #88333C #3C8833
tetradic
#333C88 #883367 #887F33 #338855
square
#333C88 #883367 #887F33 #338855
split-complementary
#333C88 #885533 #678833
monochromatic
#12152F #22285B #333C88 #4450B5 #6D77C8
Accessibility & contrast
On white
9.80
#333C88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#333C88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #333C88
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##333C88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##333C88 | 1.00 | 9.80 | 2.14 | 9.80 |
| #FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#07478B
Deuteranopia (green-blind)
#004086
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #333c88; /* rgb */ color: rgb(51, 60, 136); /* oklch */ color: oklch(39.3% 0.126 274.0);
Tailwind
colors: {
custom: {
50: '#7471ab',
500: '#333c88',
950: '#000000',
},
}SCSS
$custom: #333c88; $custom-light: #7471ab; $custom-dark: #000000;
JSON
{
"hex": "#333c88",
"rgb": {
"r": 51,
"g": 60,
"b": 136
},
"hsl": {
"h": 233.647,
"s": 45.455,
"l": 36.667
},
"oklch": {
"l": 0.39336,
"c": 0.12591,
"h": 274
},
"luminance": 0.05713
}Semantic roles & 50–950 ramp
primary
#333C88
secondary
#B0A867
accent
#C753D5
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F