#333C99#333C99
#333C99 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.7% C 0.150 H 273.5°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #333C99 |
|---|---|
| RGB | rgb(51, 60, 153) |
| HSL | hsl(235, 50%, 40%) |
| HSV | hsv(235, 67%, 60%) |
| CMYK | cmyk(66.7%, 60.8%, 0%, 40%) |
| CIE-LAB | lab(30.00, 27.32, -52.09) |
| CIE-LCH | lch(30.00, 58.82, 297.68°) |
| OKLab | oklab(40.74% 0.0091 -0.15) |
| OKLCH | oklch(40.74% 0.15 273.5) |
| XYZ | xyz(8.7290, 6.2347, 30.8742) |
| Luminance | 0.0624 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.21
Blueberry
#464196
ΔE00 3.27
Darkslateblue
#483D8B
ΔE00 4.64
Ocean Blue
#4F42B5
ΔE00 5.99
Cobalt
#0047AB
ΔE00 6.22
Blue Blue
#2242C7
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#333C99 #999033
analogous
#336F99 #333C99 #5D3399
triadic
#333C99 #99333C #3C9933
tetradic
#333C99 #99336F #999033 #33995D
square
#333C99 #99336F #999033 #33995D
split-complementary
#333C99 #995D33 #6F9933
monochromatic
#14183D #242A6B #333C99 #4752C2 #757DD1
Accessibility & contrast
On white
9.35
#333C99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#333C99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #333C99
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##333C99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##333C99 | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#004297
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #333c99; /* rgb */ color: rgb(51, 60, 153); /* oklch */ color: oklch(40.7% 0.150 273.5);
Tailwind
colors: {
custom: {
50: '#7771b8',
500: '#333c99',
950: '#000000',
},
}SCSS
$custom: #333c99; $custom-light: #7771b8; $custom-dark: #000000;
JSON
{
"hex": "#333c99",
"rgb": {
"r": 51,
"g": 60,
"b": 153
},
"hsl": {
"h": 234.706,
"s": 50,
"l": 40
},
"oklch": {
"l": 0.40737,
"c": 0.1503,
"h": 273.5
},
"luminance": 0.06235
}Semantic roles & 50–950 ramp
primary
#333C99
secondary
#B9B36E
accent
#CD4EDA
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80