#333C94#333C94
#333C94 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.143 H 273.7°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #333C94 |
|---|---|
| RGB | rgb(51, 60, 148) |
| HSL | hsl(234, 49%, 39%) |
| HSV | hsv(234, 66%, 58%) |
| CMYK | cmyk(65.5%, 59.5%, 0%, 42%) |
| CIE-LAB | lab(29.60, 25.51, -49.69) |
| CIE-LCH | lch(29.60, 55.86, 297.18°) |
| OKLab | oklab(40.31% 0.0091 -0.143) |
| OKLCH | oklch(40.31% 0.143 273.7) |
| XYZ | xyz(8.3246, 6.0729, 28.7447) |
| Luminance | 0.0607 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.22
Sapphire (survey)
#2138AB
ΔE00 3.90
Darkslateblue
#483D8B
ΔE00 4.33
Cobalt
#0047AB
ΔE00 6.45
Cobalt (survey)
#1E488F
ΔE00 6.48
Ocean Blue
#4F42B5
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#333C94 #948B33
analogous
#336D94 #333C94 #5B3394
triadic
#333C94 #94333C #3C9433
tetradic
#333C94 #94336D #948B33 #33945B
square
#333C94 #94336D #948B33 #33945B
split-complementary
#333C94 #945B33 #6D9433
monochromatic
#141739 #232A66 #333C94 #4551BF #737BCF
Accessibility & contrast
On white
9.48
#333C94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#333C94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #333C94
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##333C94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##333C94 | 1.00 | 9.48 | 2.21 | 9.48 |
| #FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A97
Deuteranopia (green-blind)
#004292
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #333c94; /* rgb */ color: rgb(51, 60, 148); /* oklch */ color: oklch(40.3% 0.143 273.7);
Tailwind
colors: {
custom: {
50: '#7671b4',
500: '#333c94',
950: '#000000',
},
}SCSS
$custom: #333c94; $custom-light: #7671b4; $custom-dark: #000000;
JSON
{
"hex": "#333c94",
"rgb": {
"r": 51,
"g": 60,
"b": 148
},
"hsl": {
"h": 234.433,
"s": 48.744,
"l": 39.02
},
"oklch": {
"l": 0.40313,
"c": 0.14326,
"h": 273.7
},
"luminance": 0.06074
}Semantic roles & 50–950 ramp
primary
#333C94
secondary
#B7B06C
accent
#CC4FD8
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80