#3A418F#3A418F
#3A418F is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.4% C 0.127 H 275.5°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #3A418F |
|---|---|
| RGB | rgb(58, 65, 143) |
| HSL | hsl(235, 42%, 39%) |
| HSV | hsv(235, 59%, 56%) |
| CMYK | cmyk(59.4%, 54.5%, 0%, 43.9%) |
| CIE-LAB | lab(31.03, 21.70, -44.28) |
| CIE-LCH | lch(31.03, 49.31, 296.10°) |
| OKLab | oklab(41.39% 0.0122 -0.1268) |
| OKLCH | oklch(41.39% 0.127 275.5) |
| XYZ | xyz(8.5915, 6.6627, 26.8146) |
| Luminance | 0.0666 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.58
Darkslateblue
#483D8B
ΔE00 3.67
Sapphire (survey)
#2138AB
ΔE00 5.68
Cobalt (survey)
#1E488F
ΔE00 5.99
Twilight
#4E518B
ΔE00 6.19
Cobalt
#0047AB
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A418F #8F883A
analogous
#3A6C8F #3A418F #5E3A8F
triadic
#3A418F #8F3A41 #418F3A
tetradic
#3A418F #8F3A6C #8F883A #3A8F5E
square
#3A418F #8F3A6C #8F883A #3A8F5E
split-complementary
#3A418F #8F5E3A #6C8F3A
monochromatic
#171938 #282D63 #3A418F #4F57B7 #7A81C9
Accessibility & contrast
On white
9.00
#3A418F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#3A418F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A418F
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A418F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A418F | 1.00 | 9.00 | 2.33 | 9.00 |
| #FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#114D92
Deuteranopia (green-blind)
#00468D
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #3a418f; /* rgb */ color: rgb(58, 65, 143); /* oklch */ color: oklch(41.4% 0.127 275.5);
Tailwind
colors: {
custom: {
50: '#7875b0',
500: '#3a418f',
950: '#000000',
},
}SCSS
$custom: #3a418f; $custom-light: #7875b0; $custom-dark: #000000;
JSON
{
"hex": "#3a418f",
"rgb": {
"r": 58,
"g": 65,
"b": 143
},
"hsl": {
"h": 235.059,
"s": 42.289,
"l": 39.412
},
"oklch": {
"l": 0.41387,
"c": 0.1274,
"h": 275.5
},
"luminance": 0.06663
}Semantic roles & 50–950 ramp
primary
#3A418F
secondary
#B3AD72
accent
#C856D2
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#0A0810
muted
#7C7B7F