#333F99#333F99
#333F99 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.3% C 0.146 H 272.5°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #333F99 |
|---|---|
| RGB | rgb(51, 63, 153) |
| HSL | hsl(233, 50%, 40%) |
| HSV | hsv(233, 67%, 60%) |
| CMYK | cmyk(66.7%, 58.8%, 0%, 40%) |
| CIE-LAB | lab(30.78, 25.34, -50.82) |
| CIE-LCH | lch(30.78, 56.78, 296.50°) |
| OKLab | oklab(41.32% 0.0064 -0.1462) |
| OKLCH | oklch(41.32% 0.146 272.5) |
| XYZ | xyz(8.8906, 6.5579, 30.9281) |
| Luminance | 0.0656 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.26
Sapphire (survey)
#2138AB
ΔE00 3.67
Darkslateblue
#483D8B
ΔE00 4.88
Cobalt
#0047AB
ΔE00 5.52
Cobalt (survey)
#1E488F
ΔE00 5.85
Ocean Blue
#4F42B5
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#333F99 #998D33
analogous
#337299 #333F99 #5A3399
triadic
#333F99 #99333F #3F9933
tetradic
#333F99 #993372 #998D33 #33995A
square
#333F99 #993372 #998D33 #33995A
split-complementary
#333F99 #995A33 #729933
monochromatic
#14193D #242C6B #333F99 #4756C2 #7580D1
Accessibility & contrast
On white
9.08
#333F99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#333F99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #333F99
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##333F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##333F99 | 1.00 | 9.08 | 2.31 | 9.08 |
| #FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#004497
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #333f99; /* rgb */ color: rgb(51, 63, 153); /* oklch */ color: oklch(41.3% 0.146 272.5);
Tailwind
colors: {
custom: {
50: '#7774b8',
500: '#333f99',
950: '#000000',
},
}SCSS
$custom: #333f99; $custom-light: #7774b8; $custom-dark: #000000;
JSON
{
"hex": "#333f99",
"rgb": {
"r": 51,
"g": 63,
"b": 153
},
"hsl": {
"h": 232.941,
"s": 50,
"l": 40
},
"oklch": {
"l": 0.41317,
"c": 0.14639,
"h": 272.5
},
"luminance": 0.06559
}Semantic roles & 50–950 ramp
primary
#333F99
secondary
#B9B16E
accent
#C94EDA
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80