#3A488C#3A488C
#3A488C is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.6% C 0.113 H 272.0°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).
Color values
| HEX | #3A488C |
|---|---|
| RGB | rgb(58, 72, 140) |
| HSL | hsl(230, 41%, 39%) |
| HSV | hsv(230, 59%, 55%) |
| CMYK | cmyk(58.6%, 48.6%, 0%, 45.1%) |
| CIE-LAB | lab(32.76, 15.98, -39.65) |
| CIE-LCH | lch(32.76, 42.75, 291.94°) |
| OKLab | oklab(42.63% 0.004 -0.1131) |
| OKLCH | oklch(42.63% 0.113 272) |
| XYZ | xyz(8.7944, 7.4271, 25.7760) |
| Luminance | 0.0743 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.49
Blueberry
#464196
ΔE00 4.58
Twilight
#4E518B
ΔE00 4.65
Darkslateblue
#483D8B
ΔE00 5.71
Cobalt
#0047AB
ΔE00 6.30
Dusk
#4E5481
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A488C #8C7E3A
analogous
#3A718C #3A488C #553A8C
triadic
#3A488C #8C3A48 #488C3A
tetradic
#3A488C #8C3A71 #8C7E3A #3A8C55
square
#3A488C #8C3A71 #8C7E3A #3A8C55
split-complementary
#3A488C #8C553A #718C3A
monochromatic
#161B35 #283261 #3A488C #4E5FB6 #7986C7
Accessibility & contrast
On white
8.45
#3A488C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#3A488C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A488C
8.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A488C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A488C | 1.00 | 8.45 | 2.49 | 8.45 |
| #FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28518F
Deuteranopia (green-blind)
#1C4A8B
Tritanopia (blue-blind)
#045763
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #3a488c; /* rgb */ color: rgb(58, 72, 140); /* oklch */ color: oklch(42.6% 0.113 272.0);
Tailwind
colors: {
custom: {
50: '#777aae',
500: '#3a488c',
950: '#000000',
},
}SCSS
$custom: #3a488c; $custom-light: #777aae; $custom-dark: #000000;
JSON
{
"hex": "#3a488c",
"rgb": {
"r": 58,
"g": 72,
"b": 140
},
"hsl": {
"h": 229.756,
"s": 41.414,
"l": 38.824
},
"oklch": {
"l": 0.42631,
"c": 0.1132,
"h": 272
},
"luminance": 0.07428
}Semantic roles & 50–950 ramp
primary
#3A488C
secondary
#B1A671
accent
#BC57D1
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#090910
muted
#7B7B7F