#3A4783#3A4783
#3A4783 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.8% C 0.101 H 272.2°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #3A4783 |
|---|---|
| RGB | rgb(58, 71, 131) |
| HSL | hsl(229, 39%, 37%) |
| HSV | hsv(229, 56%, 51%) |
| CMYK | cmyk(55.7%, 45.8%, 0%, 48.6%) |
| CIE-LAB | lab(31.91, 13.48, -35.47) |
| CIE-LCH | lch(31.91, 37.94, 290.80°) |
| OKLab | oklab(41.8% 0.0038 -0.1009) |
| OKLCH | oklch(41.8% 0.101 272.2) |
| XYZ | xyz(8.0936, 7.0442, 22.4015) |
| Luminance | 0.0704 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 4.55
Cobalt (survey)
#1E488F
ΔE00 5.04
Blueberry
#464196
ΔE00 5.35
Dusk
#4E5481
ΔE00 5.76
Darkslateblue
#483D8B
ΔE00 5.89
Darkish Blue
#014182
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A4783 #83763A
analogous
#3A6C83 #3A4783 #523A83
triadic
#3A4783 #833A47 #47833A
tetradic
#3A4783 #833A6C #83763A #3A8352
square
#3A4783 #833A6C #83763A #3A8352
split-complementary
#3A4783 #83523A #6C833A
monochromatic
#14192E #273059 #3A4783 #4D5EAD #7583C2
Accessibility & contrast
On white
8.72
#3A4783 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#3A4783 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A4783
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A4783 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A4783 | 1.00 | 8.72 | 2.41 | 8.72 |
| #FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4E85
Deuteranopia (green-blind)
#244882
Tritanopia (blue-blind)
#15545E
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #3a4783; /* rgb */ color: rgb(58, 71, 131); /* oklch */ color: oklch(41.8% 0.101 272.2);
Tailwind
colors: {
custom: {
50: '#767aa7',
500: '#3a4783',
950: '#000000',
},
}SCSS
$custom: #3a4783; $custom-light: #767aa7; $custom-dark: #000000;
JSON
{
"hex": "#3a4783",
"rgb": {
"r": 58,
"g": 71,
"b": 131
},
"hsl": {
"h": 229.315,
"s": 38.624,
"l": 37.059
},
"oklch": {
"l": 0.41798,
"c": 0.10093,
"h": 272.2
},
"luminance": 0.07045
}Semantic roles & 50–950 ramp
primary
#3A4783
secondary
#ABA06D
accent
#BA59CF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#09090F
muted
#7B7B7F