#333C97#333C97
#333C97 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.6% C 0.147 H 273.5°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #333C97 |
|---|---|
| RGB | rgb(51, 60, 151) |
| HSL | hsl(235, 50%, 40%) |
| HSV | hsv(235, 66%, 59%) |
| CMYK | cmyk(66.2%, 60.3%, 0%, 40.8%) |
| CIE-LAB | lab(29.84, 26.60, -51.13) |
| CIE-LCH | lch(29.84, 57.64, 297.48°) |
| OKLab | oklab(40.57% 0.0091 -0.1472) |
| OKLCH | oklch(40.57% 0.147 273.5) |
| XYZ | xyz(8.5652, 6.1691, 30.0115) |
| Luminance | 0.0617 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.23
Sapphire (survey)
#2138AB
ΔE00 3.48
Darkslateblue
#483D8B
ΔE00 4.50
Ocean Blue
#4F42B5
ΔE00 6.22
Cobalt
#0047AB
ΔE00 6.30
Cobalt (survey)
#1E488F
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#333C97 #978E33
analogous
#336E97 #333C97 #5C3397
triadic
#333C97 #97333C #3C9733
tetradic
#333C97 #97336E #978E33 #33975C
square
#333C97 #97336E #978E33 #33975C
split-complementary
#333C97 #975C33 #6E9733
monochromatic
#14183C #242A69 #333C97 #4752C1 #747DD0
Accessibility & contrast
On white
9.40
#333C97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#333C97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #333C97
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##333C97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##333C97 | 1.00 | 9.40 | 2.23 | 9.40 |
| #FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#004295
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #333c97; /* rgb */ color: rgb(51, 60, 151); /* oklch */ color: oklch(40.6% 0.147 273.5);
Tailwind
colors: {
custom: {
50: '#7771b6',
500: '#333c97',
950: '#000000',
},
}SCSS
$custom: #333c97; $custom-light: #7771b6; $custom-dark: #000000;
JSON
{
"hex": "#333c97",
"rgb": {
"r": 51,
"g": 60,
"b": 151
},
"hsl": {
"h": 234.6,
"s": 49.505,
"l": 39.608
},
"oklch": {
"l": 0.40566,
"c": 0.14749,
"h": 273.5
},
"luminance": 0.0617
}Semantic roles & 50–950 ramp
primary
#333C97
secondary
#B8B26D
accent
#CD4FD9
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80