#333F9F#333F9F
#333F9F is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.8% C 0.155 H 272.4°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).
Color values
| HEX | #333F9F |
|---|---|
| RGB | rgb(51, 63, 159) |
| HSL | hsl(233, 51%, 41%) |
| HSV | hsv(233, 68%, 62%) |
| CMYK | cmyk(67.9%, 60.4%, 0%, 37.6%) |
| CIE-LAB | lab(31.26, 27.52, -53.68) |
| CIE-LCH | lch(31.26, 60.32, 297.14°) |
| OKLab | oklab(41.82% 0.0065 -0.1547) |
| OKLCH | oklch(41.82% 0.155 272.4) |
| XYZ | xyz(9.3987, 6.7612, 33.6039) |
| Luminance | 0.0676 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.99
Blueberry
#464196
ΔE00 3.47
Darkslateblue
#483D8B
ΔE00 5.30
Cobalt
#0047AB
ΔE00 5.34
Ocean Blue
#4F42B5
ΔE00 5.41
Blue Blue
#2242C7
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#333F9F #9F9333
analogous
#33759F #333F9F #5D339F
triadic
#333F9F #9F333F #3F9F33
tetradic
#333F9F #9F3375 #9F9333 #339F5D
square
#333F9F #9F3375 #9F9333 #339F5D
split-complementary
#333F9F #9F5D33 #759F33
monochromatic
#151A42 #242D71 #333F9F #4A58C5 #7983D4
Accessibility & contrast
On white
8.93
#333F9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#333F9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #333F9F
8.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##333F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##333F9F | 1.00 | 8.93 | 2.35 | 8.93 |
| #FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #333f9f; /* rgb */ color: rgb(51, 63, 159); /* oklch */ color: oklch(41.8% 0.155 272.4);
Tailwind
colors: {
custom: {
50: '#7874bc',
500: '#333f9f',
950: '#000000',
},
}SCSS
$custom: #333f9f; $custom-light: #7874bc; $custom-dark: #000000;
JSON
{
"hex": "#333f9f",
"rgb": {
"r": 51,
"g": 63,
"b": 159
},
"hsl": {
"h": 233.333,
"s": 51.429,
"l": 41.176
},
"oklch": {
"l": 0.41823,
"c": 0.1548,
"h": 272.4
},
"luminance": 0.06762
}Semantic roles & 50–950 ramp
primary
#333F9F
secondary
#BCB471
accent
#CB4DDB
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81