#333C8A#333C8A
#333C8A is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.5% C 0.129 H 274.0°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #333C8A |
|---|---|
| RGB | rgb(51, 60, 138) |
| HSL | hsl(234, 46%, 37%) |
| HSV | hsv(234, 63%, 54%) |
| CMYK | cmyk(63%, 56.5%, 0%, 45.9%) |
| CIE-LAB | lab(28.82, 21.89, -44.78) |
| CIE-LCH | lch(28.82, 49.85, 296.05°) |
| OKLab | oklab(39.5% 0.0089 -0.1285) |
| OKLCH | oklch(39.5% 0.129 274) |
| XYZ | xyz(7.5670, 5.7699, 24.7548) |
| Luminance | 0.0577 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.68
Darkslateblue
#483D8B
ΔE00 4.09
Sapphire (survey)
#2138AB
ΔE00 5.45
Cobalt (survey)
#1E488F
ΔE00 6.25
Cobalt
#0047AB
ΔE00 7.18
Darkish Blue
#014182
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#333C8A #8A8133
analogous
#33688A #333C8A #56338A
triadic
#333C8A #8A333C #3C8A33
tetradic
#333C8A #8A3368 #8A8133 #338A56
square
#333C8A #8A3368 #8A8133 #338A56
split-complementary
#333C8A #8A5633 #688A33
monochromatic
#121531 #22295D #333C8A #444FB7 #6E77C9
Accessibility & contrast
On white
9.75
#333C8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#333C8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #333C8A
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##333C8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##333C8A | 1.00 | 9.75 | 2.15 | 9.75 |
| #FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#02488D
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #333c8a; /* rgb */ color: rgb(51, 60, 138); /* oklch */ color: oklch(39.5% 0.129 274.0);
Tailwind
colors: {
custom: {
50: '#7471ad',
500: '#333c8a',
950: '#000000',
},
}SCSS
$custom: #333c8a; $custom-light: #7471ad; $custom-dark: #000000;
JSON
{
"hex": "#333c8a",
"rgb": {
"r": 51,
"g": 60,
"b": 138
},
"hsl": {
"h": 233.793,
"s": 46.032,
"l": 37.059
},
"oklch": {
"l": 0.39495,
"c": 0.12885,
"h": 274
},
"luminance": 0.05771
}Semantic roles & 50–950 ramp
primary
#333C8A
secondary
#B1AA67
accent
#C852D6
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F