#333CA5#333CA5
#333CA5 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.8% C 0.167 H 273.0°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #333CA5 |
|---|---|
| RGB | rgb(51, 60, 165) |
| HSL | hsl(235, 53%, 42%) |
| HSV | hsv(235, 69%, 65%) |
| CMYK | cmyk(69.1%, 63.6%, 0%, 35.3%) |
| CIE-LAB | lab(31.00, 31.64, -57.72) |
| CIE-LCH | lch(31.00, 65.82, 298.73°) |
| OKLab | oklab(41.79% 0.0087 -0.1666) |
| OKLCH | oklch(41.79% 0.167 273) |
| XYZ | xyz(9.7704, 6.6512, 36.3589) |
| Luminance | 0.0665 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.00
Blueberry
#464196
ΔE00 3.99
Ocean Blue
#4F42B5
ΔE00 4.76
Blue Blue
#2242C7
ΔE00 4.87
Darkslateblue
#483D8B
ΔE00 5.71
Cobalt
#0047AB
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#333CA5 #A59C33
analogous
#3375A5 #333CA5 #6333A5
triadic
#333CA5 #A5333C #3CA533
tetradic
#333CA5 #A53375 #A59C33 #33A563
square
#333CA5 #A53375 #A59C33 #33A563
split-complementary
#333CA5 #A56333 #75A533
monochromatic
#161A48 #252B76 #333CA5 #4D57C8 #7C83D6
Accessibility & contrast
On white
9.01
#333CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#333CA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #333CA5
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##333CA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##333CA5 | 1.00 | 9.01 | 2.33 | 9.01 |
| #FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA8
Deuteranopia (green-blind)
#0044A3
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #333ca5; /* rgb */ color: rgb(51, 60, 165); /* oklch */ color: oklch(41.8% 0.167 273.0);
Tailwind
colors: {
custom: {
50: '#7a72c1',
500: '#333ca5',
950: '#000000',
},
}SCSS
$custom: #333ca5; $custom-light: #7a72c1; $custom-dark: #000000;
JSON
{
"hex": "#333ca5",
"rgb": {
"r": 51,
"g": 60,
"b": 165
},
"hsl": {
"h": 235.263,
"s": 52.778,
"l": 42.353
},
"oklch": {
"l": 0.41788,
"c": 0.16679,
"h": 273
},
"luminance": 0.06652
}Semantic roles & 50–950 ramp
primary
#333CA5
secondary
#BFB975
accent
#D14CDC
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0812
muted
#7C7B81