#333F8A#333F8A
#333F8A is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.1% C 0.125 H 272.7°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #333F8A |
|---|---|
| RGB | rgb(51, 63, 138) |
| HSL | hsl(232, 46%, 37%) |
| HSV | hsv(232, 63%, 54%) |
| CMYK | cmyk(63%, 54.3%, 0%, 45.9%) |
| CIE-LAB | lab(29.65, 19.87, -43.45) |
| CIE-LCH | lch(29.65, 47.78, 294.57°) |
| OKLab | oklab(40.11% 0.0058 -0.1246) |
| OKLCH | oklch(40.11% 0.125 272.7) |
| XYZ | xyz(7.7287, 6.0932, 24.8086) |
| Luminance | 0.0609 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.88
Darkslateblue
#483D8B
ΔE00 4.56
Cobalt (survey)
#1E488F
ΔE00 5.35
Sapphire (survey)
#2138AB
ΔE00 5.82
Darkish Blue
#014182
ΔE00 6.57
Cobalt
#0047AB
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#333F8A #8A7E33
analogous
#336B8A #333F8A #53338A
triadic
#333F8A #8A333F #3F8A33
tetradic
#333F8A #8A336B #8A7E33 #338A53
square
#333F8A #8A336B #8A7E33 #338A53
split-complementary
#333F8A #8A5333 #6B8A33
monochromatic
#121631 #222B5D #333F8A #4453B7 #6E7BC9
Accessibility & contrast
On white
9.46
#333F8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#333F8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #333F8A
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##333F8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##333F8A | 1.00 | 9.46 | 2.22 | 9.46 |
| #FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#104A8D
Deuteranopia (green-blind)
#004288
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #333f8a; /* rgb */ color: rgb(51, 63, 138); /* oklch */ color: oklch(40.1% 0.125 272.7);
Tailwind
colors: {
custom: {
50: '#7473ad',
500: '#333f8a',
950: '#000000',
},
}SCSS
$custom: #333f8a; $custom-light: #7473ad; $custom-dark: #000000;
JSON
{
"hex": "#333f8a",
"rgb": {
"r": 51,
"g": 63,
"b": 138
},
"hsl": {
"h": 231.724,
"s": 46.032,
"l": 37.059
},
"oklch": {
"l": 0.40111,
"c": 0.12473,
"h": 272.7
},
"luminance": 0.06094
}Semantic roles & 50–950 ramp
primary
#333F8A
secondary
#B1A767
accent
#C452D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F