#333F8F#333F8F
#333F8F is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.132 H 272.7°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #333F8F |
|---|---|
| RGB | rgb(51, 63, 143) |
| HSL | hsl(232, 47%, 38%) |
| HSV | hsv(232, 64%, 56%) |
| CMYK | cmyk(64.3%, 55.9%, 0%, 43.9%) |
| CIE-LAB | lab(30.01, 21.69, -45.94) |
| CIE-LCH | lch(30.01, 50.81, 295.27°) |
| OKLab | oklab(40.5% 0.0061 -0.1319) |
| OKLCH | oklch(40.5% 0.132 272.7) |
| XYZ | xyz(8.0990, 6.2413, 26.7592) |
| Luminance | 0.0624 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.49
Darkslateblue
#483D8B
ΔE00 4.52
Sapphire (survey)
#2138AB
ΔE00 5.05
Cobalt (survey)
#1E488F
ΔE00 5.42
Cobalt
#0047AB
ΔE00 6.15
Darkish Blue
#014182
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#333F8F #8F8333
analogous
#336D8F #333F8F #55338F
triadic
#333F8F #8F333F #3F8F33
tetradic
#333F8F #8F336D #8F8333 #338F55
square
#333F8F #8F336D #8F8333 #338F55
split-complementary
#333F8F #8F5533 #6D8F33
monochromatic
#131735 #232B62 #333F8F #4353BC #707CCC
Accessibility & contrast
On white
9.34
#333F8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#333F8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #333F8F
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##333F8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##333F8F | 1.00 | 9.34 | 2.25 | 9.34 |
| #FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#044B92
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #333f8f; /* rgb */ color: rgb(51, 63, 143); /* oklch */ color: oklch(40.5% 0.132 272.7);
Tailwind
colors: {
custom: {
50: '#7573b0',
500: '#333f8f',
950: '#000000',
},
}SCSS
$custom: #333f8f; $custom-light: #7573b0; $custom-dark: #000000;
JSON
{
"hex": "#333f8f",
"rgb": {
"r": 51,
"g": 63,
"b": 143
},
"hsl": {
"h": 232.174,
"s": 47.423,
"l": 38.039
},
"oklch": {
"l": 0.40504,
"c": 0.13206,
"h": 272.7
},
"luminance": 0.06242
}Semantic roles & 50–950 ramp
primary
#333F8F
secondary
#B4AA6A
accent
#C651D7
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090811
muted
#7B7B80