#3A4E9B#3A4E9B
#3A4E9B is a dark, vivid blue. Relative luminance 0.087; OKLCH L 45.0% C 0.127 H 269.7°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #3A4E9B |
|---|---|
| RGB | rgb(58, 78, 155) |
| HSL | hsl(228, 46%, 42%) |
| HSV | hsv(228, 63%, 61%) |
| CMYK | cmyk(62.6%, 49.7%, 0%, 39.2%) |
| CIE-LAB | lab(35.43, 17.35, -44.50) |
| CIE-LCH | lch(35.43, 47.76, 291.31°) |
| OKLab | oklab(44.97% -0.0006 -0.1273) |
| OKLCH | oklch(44.97% 0.127 269.7) |
| XYZ | xyz(10.3837, 8.7140, 32.1388) |
| Luminance | 0.0872 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.34
Cobalt
#0047AB
ΔE00 4.87
Denim Blue
#3B5B92
ΔE00 5.14
Twilight
#4E518B
ΔE00 5.39
Dusk Blue
#26538D
ΔE00 5.42
Sapphire
#0F52BA
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A4E9B #9B873A
analogous
#3A7F9B #3A4E9B #573A9B
triadic
#3A4E9B #9B3A4E #4E9B3A
tetradic
#3A4E9B #9B3A7F #9B873A #3A9B57
square
#3A4E9B #9B3A7F #9B873A #3A9B57
split-complementary
#3A4E9B #9B573A #7F9B3A
monochromatic
#192142 #29386E #3A4E9B #536ABF #8090CF
Accessibility & contrast
On white
7.66
#3A4E9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#3A4E9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A4E9B
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A4E9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A4E9B | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26589E
Deuteranopia (green-blind)
#134F99
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #3a4e9b; /* rgb */ color: rgb(58, 78, 155); /* oklch */ color: oklch(45.0% 0.127 269.7);
Tailwind
colors: {
custom: {
50: '#7a7fb9',
500: '#3a4e9b',
950: '#000000',
},
}SCSS
$custom: #3a4e9b; $custom-light: #7a7fb9; $custom-dark: #000000;
JSON
{
"hex": "#3a4e9b",
"rgb": {
"r": 58,
"g": 78,
"b": 155
},
"hsl": {
"h": 227.629,
"s": 45.54,
"l": 41.765
},
"oklch": {
"l": 0.44974,
"c": 0.1273,
"h": 269.7
},
"luminance": 0.08715
}Semantic roles & 50–950 ramp
primary
#3A4E9B
secondary
#B9AC78
accent
#BA53D5
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80