#3336AF#3336AF
#3336AF is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.7% C 0.187 H 273.7°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #3336AF |
|---|---|
| RGB | rgb(51, 54, 175) |
| HSL | hsl(239, 55%, 44%) |
| HSV | hsv(239, 71%, 69%) |
| CMYK | cmyk(70.9%, 69.1%, 0%, 31.4%) |
| CIE-LAB | lab(30.49, 38.92, -64.56) |
| CIE-LCH | lch(30.49, 75.38, 301.09°) |
| OKLab | oklab(41.69% 0.012 -0.1866) |
| OKLCH | oklch(41.69% 0.187 273.7) |
| XYZ | xyz(10.4197, 6.4363, 41.2423) |
| Luminance | 0.0644 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.23
Ocean Blue
#4F42B5
ΔE00 4.65
Blue Blue
#2242C7
ΔE00 4.77
Blue With A Hint Of Purple
#533CC6
ΔE00 5.50
Blueberry
#464196
ΔE00 5.62
Blurple
#5539CC
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3336AF #AFAC33
analogous
#3374AF #3336AF #6E33AF
triadic
#3336AF #AF3336 #36AF33
tetradic
#3336AF #AF3374 #AFAC33 #33AF6E
square
#3336AF #AF3374 #AFAC33 #33AF6E
split-complementary
#3336AF #AF6E33 #74AF33
monochromatic
#171950 #252780 #3336AF #5255CD #8284DB
Accessibility & contrast
On white
9.18
#3336AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#3336AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3336AF
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3336AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3336AF | 1.00 | 9.18 | 2.29 | 9.18 |
| #FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#0042AD
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #3336af; /* rgb */ color: rgb(51, 54, 175); /* oklch */ color: oklch(41.7% 0.187 273.7);
Tailwind
colors: {
custom: {
50: '#7c6ec8',
500: '#3336af',
950: '#000000',
},
}SCSS
$custom: #3336af; $custom-light: #7c6ec8; $custom-dark: #000000;
JSON
{
"hex": "#3336af",
"rgb": {
"r": 51,
"g": 54,
"b": 175
},
"hsl": {
"h": 238.548,
"s": 54.867,
"l": 44.314
},
"oklch": {
"l": 0.41692,
"c": 0.18699,
"h": 273.7
},
"luminance": 0.06437
}Semantic roles & 50–950 ramp
primary
#3336AF
secondary
#C4C27A
accent
#DB4ADE
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82