#333CA7#333CA7
#333CA7 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.0% C 0.169 H 272.9°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #333CA7 |
|---|---|
| RGB | rgb(51, 60, 167) |
| HSL | hsl(235, 53%, 43%) |
| HSV | hsv(235, 69%, 65%) |
| CMYK | cmyk(69.5%, 64.1%, 0%, 34.5%) |
| CIE-LAB | lab(31.17, 32.35, -58.64) |
| CIE-LCH | lch(31.17, 66.98, 298.89°) |
| OKLab | oklab(41.97% 0.0086 -0.1693) |
| OKLCH | oklch(41.97% 0.169 272.9) |
| XYZ | xyz(9.9538, 6.7246, 37.3251) |
| Luminance | 0.0673 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.91
Blueberry
#464196
ΔE00 4.17
Ocean Blue
#4F42B5
ΔE00 4.60
Blue Blue
#2242C7
ΔE00 4.62
Darkslateblue
#483D8B
ΔE00 5.91
Cobalt
#0047AB
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#333CA7 #A79E33
analogous
#3376A7 #333CA7 #6433A7
triadic
#333CA7 #A7333C #3CA733
tetradic
#333CA7 #A73376 #A79E33 #33A764
square
#333CA7 #A73376 #A79E33 #33A764
split-complementary
#333CA7 #A76433 #76A733
monochromatic
#161A49 #252B78 #333CA7 #4E58C9 #7D84D7
Accessibility & contrast
On white
8.95
#333CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#333CA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #333CA7
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##333CA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##333CA7 | 1.00 | 8.95 | 2.35 | 8.95 |
| #FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FAA
Deuteranopia (green-blind)
#0044A5
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #333ca7; /* rgb */ color: rgb(51, 60, 167); /* oklch */ color: oklch(42.0% 0.169 272.9);
Tailwind
colors: {
custom: {
50: '#7a72c2',
500: '#333ca7',
950: '#000000',
},
}SCSS
$custom: #333ca7; $custom-light: #7a72c2; $custom-dark: #000000;
JSON
{
"hex": "#333ca7",
"rgb": {
"r": 51,
"g": 60,
"b": 167
},
"hsl": {
"h": 235.345,
"s": 53.211,
"l": 42.745
},
"oklch": {
"l": 0.41968,
"c": 0.16948,
"h": 272.9
},
"luminance": 0.06726
}Semantic roles & 50–950 ramp
primary
#333CA7
secondary
#C0BA76
accent
#D14BDD
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0812
muted
#7C7B81