#3A4E99#3A4E99
#3A4E99 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.8% C 0.124 H 269.6°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #3A4E99 |
|---|---|
| RGB | rgb(58, 78, 153) |
| HSL | hsl(227, 45%, 41%) |
| HSV | hsv(227, 62%, 60%) |
| CMYK | cmyk(62.1%, 49%, 0%, 40%) |
| CIE-LAB | lab(35.30, 16.63, -43.50) |
| CIE-LCH | lch(35.30, 46.57, 290.93°) |
| OKLab | oklab(44.83% -0.0009 -0.1244) |
| OKLCH | oklch(44.83% 0.124 269.6) |
| XYZ | xyz(10.2171, 8.6474, 31.2615) |
| Luminance | 0.0865 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.22
Cobalt
#0047AB
ΔE00 5.01
Denim Blue
#3B5B92
ΔE00 5.05
Twilight
#4E518B
ΔE00 5.22
Dusk Blue
#26538D
ΔE00 5.30
Sapphire
#0F52BA
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A4E99 #99853A
analogous
#3A7E99 #3A4E99 #563A99
triadic
#3A4E99 #993A4E #4E993A
tetradic
#3A4E99 #993A7E #99853A #3A9956
square
#3A4E99 #993A7E #99853A #3A9956
split-complementary
#3A4E99 #99563A #7E993A
monochromatic
#182140 #29376D #3A4E99 #5369BE #7F90CE
Accessibility & contrast
On white
7.69
#3A4E99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#3A4E99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A4E99
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A4E99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A4E99 | 1.00 | 7.69 | 2.73 | 7.69 |
| #FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28579C
Deuteranopia (green-blind)
#174F97
Tritanopia (blue-blind)
#005F6C
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #3a4e99; /* rgb */ color: rgb(58, 78, 153); /* oklch */ color: oklch(44.8% 0.124 269.6);
Tailwind
colors: {
custom: {
50: '#797fb7',
500: '#3a4e99',
950: '#000000',
},
}SCSS
$custom: #3a4e99; $custom-light: #797fb7; $custom-dark: #000000;
JSON
{
"hex": "#3a4e99",
"rgb": {
"r": 58,
"g": 78,
"b": 153
},
"hsl": {
"h": 227.368,
"s": 45.024,
"l": 41.373
},
"oklch": {
"l": 0.44832,
"c": 0.12437,
"h": 269.6
},
"luminance": 0.08648
}Semantic roles & 50–950 ramp
primary
#3A4E99
secondary
#B8AA77
accent
#B953D5
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80