#333CA0#333CA0
#333CA0 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.3% C 0.160 H 273.2°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #333CA0 |
|---|---|
| RGB | rgb(51, 60, 160) |
| HSL | hsl(235, 52%, 41%) |
| HSV | hsv(235, 68%, 63%) |
| CMYK | cmyk(68.1%, 62.5%, 0%, 37.3%) |
| CIE-LAB | lab(30.57, 29.85, -55.40) |
| CIE-LCH | lch(30.57, 62.92, 298.31°) |
| OKLab | oklab(41.34% 0.0089 -0.1597) |
| OKLCH | oklch(41.34% 0.16 273.2) |
| XYZ | xyz(9.3241, 6.4727, 34.0089) |
| Luminance | 0.0647 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.40
Blueberry
#464196
ΔE00 3.61
Darkslateblue
#483D8B
ΔE00 5.23
Ocean Blue
#4F42B5
ΔE00 5.23
Blue Blue
#2242C7
ΔE00 5.52
Cobalt
#0047AB
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#333CA0 #A09733
analogous
#3373A0 #333CA0 #6133A0
triadic
#333CA0 #A0333C #3CA033
tetradic
#333CA0 #A03373 #A09733 #33A061
square
#333CA0 #A03373 #A09733 #33A061
split-complementary
#333CA0 #A06133 #73A033
monochromatic
#151943 #242B72 #333CA0 #4B55C6 #7981D4
Accessibility & contrast
On white
9.15
#333CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#333CA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #333CA0
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##333CA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##333CA0 | 1.00 | 9.15 | 2.29 | 9.15 |
| #FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA3
Deuteranopia (green-blind)
#00439E
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #333ca0; /* rgb */ color: rgb(51, 60, 160); /* oklch */ color: oklch(41.3% 0.160 273.2);
Tailwind
colors: {
custom: {
50: '#7971bd',
500: '#333ca0',
950: '#000000',
},
}SCSS
$custom: #333ca0; $custom-light: #7971bd; $custom-dark: #000000;
JSON
{
"hex": "#333ca0",
"rgb": {
"r": 51,
"g": 60,
"b": 160
},
"hsl": {
"h": 235.046,
"s": 51.659,
"l": 41.373
},
"oklch": {
"l": 0.41344,
"c": 0.15999,
"h": 273.2
},
"luminance": 0.06474
}Semantic roles & 50–950 ramp
primary
#333CA0
secondary
#BDB772
accent
#CF4DDB
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81