#3A3D95#3A3D95
#3A3D95 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.1% C 0.142 H 276.7°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #3A3D95 |
|---|---|
| RGB | rgb(58, 61, 149) |
| HSL | hsl(238, 44%, 41%) |
| HSV | hsv(238, 61%, 58%) |
| CMYK | cmyk(61.1%, 59.1%, 0%, 41.6%) |
| CIE-LAB | lab(30.42, 26.44, -48.95) |
| CIE-LCH | lch(30.42, 55.63, 298.38°) |
| OKLab | oklab(41.07% 0.0165 -0.1406) |
| OKLCH | oklch(41.07% 0.142 276.7) |
| XYZ | xyz(8.8367, 6.4063, 29.1988) |
| Luminance | 0.0641 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.17
Darkslateblue
#483D8B
ΔE00 3.42
Sapphire (survey)
#2138AB
ΔE00 4.33
Ocean Blue
#4F42B5
ΔE00 5.85
Cobalt
#0047AB
ΔE00 7.09
Cobalt (survey)
#1E488F
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A3D95 #95923A
analogous
#3A6A95 #3A3D95 #643A95
triadic
#3A3D95 #953A3D #3D953A
tetradic
#3A3D95 #953A6A #95923A #3A9564
square
#3A3D95 #953A6A #95923A #3A9564
split-complementary
#3A3D95 #95643A #6A953A
monochromatic
#18193D #292B69 #3A3D95 #5154BB #7D80CC
Accessibility & contrast
On white
9.20
#3A3D95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#3A3D95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A3D95
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A3D95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A3D95 | 1.00 | 9.20 | 2.28 | 9.20 |
| #FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C98
Deuteranopia (green-blind)
#004493
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #3a3d95; /* rgb */ color: rgb(58, 61, 149); /* oklch */ color: oklch(41.1% 0.142 276.7);
Tailwind
colors: {
custom: {
50: '#7a72b5',
500: '#3a3d95',
950: '#000000',
},
}SCSS
$custom: #3a3d95; $custom-light: #7a72b5; $custom-dark: #000000;
JSON
{
"hex": "#3a3d95",
"rgb": {
"r": 58,
"g": 61,
"b": 149
},
"hsl": {
"h": 238.022,
"s": 43.961,
"l": 40.588
},
"oklch": {
"l": 0.41072,
"c": 0.14156,
"h": 276.7
},
"luminance": 0.06407
}Semantic roles & 50–950 ramp
primary
#3A3D95
secondary
#B6B475
accent
#CF54D4
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0811
muted
#7C7B80