#3A438F#3A438F
#3A438F is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.8% C 0.125 H 274.6°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).
Color values
| HEX | #3A438F |
|---|---|
| RGB | rgb(58, 67, 143) |
| HSL | hsl(234, 42%, 39%) |
| HSV | hsv(234, 59%, 56%) |
| CMYK | cmyk(59.4%, 53.1%, 0%, 43.9%) |
| CIE-LAB | lab(31.57, 20.37, -43.41) |
| CIE-LCH | lch(31.57, 47.95, 295.14°) |
| OKLab | oklab(41.8% 0.01 -0.1242) |
| OKLCH | oklch(41.8% 0.125 274.6) |
| XYZ | xyz(8.7084, 6.8964, 26.8535) |
| Luminance | 0.0690 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.96
Darkslateblue
#483D8B
ΔE00 4.16
Cobalt (survey)
#1E488F
ΔE00 5.49
Twilight
#4E518B
ΔE00 5.72
Sapphire (survey)
#2138AB
ΔE00 6.03
Cobalt
#0047AB
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A438F #8F863A
analogous
#3A6E8F #3A438F #5C3A8F
triadic
#3A438F #8F3A43 #438F3A
tetradic
#3A438F #8F3A6E #8F863A #3A8F5C
square
#3A438F #8F3A6E #8F863A #3A8F5C
split-complementary
#3A438F #8F5C3A #6E8F3A
monochromatic
#171A38 #282F63 #3A438F #4F5AB7 #7A83C9
Accessibility & contrast
On white
8.83
#3A438F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#3A438F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A438F
8.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A438F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A438F | 1.00 | 8.83 | 2.38 | 8.83 |
| #FFFFFF | 8.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#184E92
Deuteranopia (green-blind)
#04478D
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #3a438f; /* rgb */ color: rgb(58, 67, 143); /* oklch */ color: oklch(41.8% 0.125 274.6);
Tailwind
colors: {
custom: {
50: '#7877b0',
500: '#3a438f',
950: '#000000',
},
}SCSS
$custom: #3a438f; $custom-light: #7877b0; $custom-dark: #000000;
JSON
{
"hex": "#3a438f",
"rgb": {
"r": 58,
"g": 67,
"b": 143
},
"hsl": {
"h": 233.647,
"s": 42.289,
"l": 39.412
},
"oklch": {
"l": 0.41795,
"c": 0.12462,
"h": 274.6
},
"luminance": 0.06897
}Semantic roles & 50–950 ramp
primary
#3A438F
secondary
#B3AC72
accent
#C556D2
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#090810
muted
#7B7B7F