#333F9C#333F9C
#333F9C is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.6% C 0.151 H 272.5°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #333F9C |
|---|---|
| RGB | rgb(51, 63, 156) |
| HSL | hsl(233, 51%, 41%) |
| HSV | hsv(233, 67%, 61%) |
| CMYK | cmyk(67.3%, 59.6%, 0%, 38.8%) |
| CIE-LAB | lab(31.02, 26.43, -52.25) |
| CIE-LCH | lch(31.02, 58.56, 296.83°) |
| OKLab | oklab(41.57% 0.0065 -0.1505) |
| OKLCH | oklch(41.57% 0.151 272.5) |
| XYZ | xyz(9.1415, 6.6583, 32.2495) |
| Luminance | 0.0666 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.31
Blueberry
#464196
ΔE00 3.34
Darkslateblue
#483D8B
ΔE00 5.08
Cobalt
#0047AB
ΔE00 5.41
Ocean Blue
#4F42B5
ΔE00 5.74
Blue Blue
#2242C7
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#333F9C #9C9033
analogous
#33739C #333F9C #5B339C
triadic
#333F9C #9C333F #3F9C33
tetradic
#333F9C #9C3373 #9C9033 #339C5B
square
#333F9C #9C3373 #9C9033 #339C5B
split-complementary
#333F9C #9C5B33 #739C33
monochromatic
#151A40 #242C6E #333F9C #4957C3 #7781D3
Accessibility & contrast
On white
9.01
#333F9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#333F9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #333F9C
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##333F9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##333F9C | 1.00 | 9.01 | 2.33 | 9.01 |
| #FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9F
Deuteranopia (green-blind)
#00449A
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #333f9c; /* rgb */ color: rgb(51, 63, 156); /* oklch */ color: oklch(41.6% 0.151 272.5);
Tailwind
colors: {
custom: {
50: '#7874ba',
500: '#333f9c',
950: '#000000',
},
}SCSS
$custom: #333f9c; $custom-light: #7874ba; $custom-dark: #000000;
JSON
{
"hex": "#333f9c",
"rgb": {
"r": 51,
"g": 63,
"b": 156
},
"hsl": {
"h": 233.143,
"s": 50.725,
"l": 40.588
},
"oklch": {
"l": 0.41568,
"c": 0.15062,
"h": 272.5
},
"luminance": 0.06659
}Semantic roles & 50–950 ramp
primary
#333F9C
secondary
#BBB270
accent
#CA4EDA
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81