#3A4E9C#3A4E9C
#3A4E9C is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.0% C 0.129 H 269.8°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #3A4E9C |
|---|---|
| RGB | rgb(58, 78, 156) |
| HSL | hsl(228, 46%, 42%) |
| HSV | hsv(228, 63%, 61%) |
| CMYK | cmyk(62.8%, 50%, 0%, 38.8%) |
| CIE-LAB | lab(35.49, 17.71, -44.99) |
| CIE-LCH | lch(35.49, 48.35, 291.49°) |
| OKLab | oklab(45.05% -0.0005 -0.1288) |
| OKLCH | oklch(45.05% 0.129 269.8) |
| XYZ | xyz(10.4680, 8.7477, 32.5829) |
| Luminance | 0.0875 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.40
Cobalt
#0047AB
ΔE00 4.81
Denim Blue
#3B5B92
ΔE00 5.19
Sapphire
#0F52BA
ΔE00 5.43
Twilight
#4E518B
ΔE00 5.48
Dusk Blue
#26538D
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A4E9C #9C883A
analogous
#3A7F9C #3A4E9C #573A9C
triadic
#3A4E9C #9C3A4E #4E9C3A
tetradic
#3A4E9C #9C3A7F #9C883A #3A9C57
square
#3A4E9C #9C3A7F #9C883A #3A9C57
split-complementary
#3A4E9C #9C573A #7F9C3A
monochromatic
#192143 #29386F #3A4E9C #546ABF #8091D0
Accessibility & contrast
On white
7.64
#3A4E9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#3A4E9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A4E9C
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A4E9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A4E9C | 1.00 | 7.64 | 2.75 | 7.64 |
| #FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25589F
Deuteranopia (green-blind)
#104F9A
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #3a4e9c; /* rgb */ color: rgb(58, 78, 156); /* oklch */ color: oklch(45.0% 0.129 269.8);
Tailwind
colors: {
custom: {
50: '#7a7fba',
500: '#3a4e9c',
950: '#000000',
},
}SCSS
$custom: #3a4e9c; $custom-light: #7a7fba; $custom-dark: #000000;
JSON
{
"hex": "#3a4e9c",
"rgb": {
"r": 58,
"g": 78,
"b": 156
},
"hsl": {
"h": 227.755,
"s": 45.794,
"l": 41.961
},
"oklch": {
"l": 0.45045,
"c": 0.12876,
"h": 269.8
},
"luminance": 0.08749
}Semantic roles & 50–950 ramp
primary
#3A4E9C
secondary
#BAAC78
accent
#BB52D5
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80