#3A4E9A#3A4E9A
#3A4E9A is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.9% C 0.126 H 269.7°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #3A4E9A |
|---|---|
| RGB | rgb(58, 78, 154) |
| HSL | hsl(228, 45%, 42%) |
| HSV | hsv(228, 62%, 60%) |
| CMYK | cmyk(62.3%, 49.4%, 0%, 39.6%) |
| CIE-LAB | lab(35.36, 16.99, -44.00) |
| CIE-LCH | lch(35.36, 47.17, 291.12°) |
| OKLab | oklab(44.9% -0.0007 -0.1258) |
| OKLCH | oklch(44.9% 0.126 269.7) |
| XYZ | xyz(10.3001, 8.6805, 31.6983) |
| Luminance | 0.0868 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.28
Cobalt
#0047AB
ΔE00 4.94
Denim Blue
#3B5B92
ΔE00 5.09
Twilight
#4E518B
ΔE00 5.30
Dusk Blue
#26538D
ΔE00 5.36
Sapphire
#0F52BA
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A4E9A #9A863A
analogous
#3A7E9A #3A4E9A #563A9A
triadic
#3A4E9A #9A3A4E #4E9A3A
tetradic
#3A4E9A #9A3A7E #9A863A #3A9A56
square
#3A4E9A #9A3A7E #9A863A #3A9A56
split-complementary
#3A4E9A #9A563A #7E9A3A
monochromatic
#192141 #29376E #3A4E9A #5369BE #7F90CF
Accessibility & contrast
On white
7.67
#3A4E9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#3A4E9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A4E9A
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A4E9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A4E9A | 1.00 | 7.67 | 2.74 | 7.67 |
| #FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27589D
Deuteranopia (green-blind)
#154F98
Tritanopia (blue-blind)
#005F6C
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #3a4e9a; /* rgb */ color: rgb(58, 78, 154); /* oklch */ color: oklch(44.9% 0.126 269.7);
Tailwind
colors: {
custom: {
50: '#7a7fb8',
500: '#3a4e9a',
950: '#000000',
},
}SCSS
$custom: #3a4e9a; $custom-light: #7a7fb8; $custom-dark: #000000;
JSON
{
"hex": "#3a4e9a",
"rgb": {
"r": 58,
"g": 78,
"b": 154
},
"hsl": {
"h": 227.5,
"s": 45.283,
"l": 41.569
},
"oklch": {
"l": 0.44902,
"c": 0.12583,
"h": 269.7
},
"luminance": 0.08681
}Semantic roles & 50–950 ramp
primary
#3A4E9A
secondary
#B9AB77
accent
#BA53D5
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80