#3341AF#3341AF
#3341AF is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.6% C 0.174 H 271.5°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #3341AF |
|---|---|
| RGB | rgb(51, 65, 175) |
| HSL | hsl(233, 55%, 44%) |
| HSV | hsv(233, 71%, 69%) |
| CMYK | cmyk(70.9%, 62.9%, 0%, 31.4%) |
| CIE-LAB | lab(33.09, 32.00, -60.29) |
| CIE-LCH | lch(33.09, 68.26, 297.96°) |
| OKLab | oklab(43.59% 0.0045 -0.1741) |
| OKLCH | oklch(43.59% 0.174 271.5) |
| XYZ | xyz(10.9908, 7.5785, 41.4327) |
| Luminance | 0.0758 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.85
Blue Blue
#2242C7
ΔE00 3.23
Ocean Blue
#4F42B5
ΔE00 4.16
Blueberry
#464196
ΔE00 4.81
Cobalt
#0047AB
ΔE00 5.10
Blue (survey)
#0343DF
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3341AF #AFA133
analogous
#337FAF #3341AF #6333AF
triadic
#3341AF #AF3341 #41AF33
tetradic
#3341AF #AF337F #AFA133 #33AF63
square
#3341AF #AF337F #AFA133 #33AF63
split-complementary
#3341AF #AF6333 #7FAF33
monochromatic
#171E50 #252F80 #3341AF #5260CD #828CDB
Accessibility & contrast
On white
8.35
#3341AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#3341AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3341AF
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3341AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3341AF | 1.00 | 8.35 | 2.52 | 8.35 |
| #FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#0048AD
Tritanopia (blue-blind)
#005D72
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #3341af; /* rgb */ color: rgb(51, 65, 175); /* oklch */ color: oklch(43.6% 0.174 271.5);
Tailwind
colors: {
custom: {
50: '#7c75c8',
500: '#3341af',
950: '#000000',
},
}SCSS
$custom: #3341af; $custom-light: #7c75c8; $custom-dark: #000000;
JSON
{
"hex": "#3341af",
"rgb": {
"r": 51,
"g": 65,
"b": 175
},
"hsl": {
"h": 233.226,
"s": 54.867,
"l": 44.314
},
"oklch": {
"l": 0.4359,
"c": 0.17412,
"h": 271.5
},
"luminance": 0.0758
}Semantic roles & 50–950 ramp
primary
#3341AF
secondary
#C4BB7A
accent
#CD4ADE
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82