#3A4FA3#3A4FA3
#3A4FA3 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.8% C 0.138 H 269.7°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #3A4FA3 |
|---|---|
| RGB | rgb(58, 79, 163) |
| HSL | hsl(228, 48%, 43%) |
| HSV | hsv(228, 64%, 64%) |
| CMYK | cmyk(64.4%, 51.5%, 0%, 36.1%) |
| CIE-LAB | lab(36.24, 19.58, -47.99) |
| CIE-LCH | lch(36.24, 51.83, 292.19°) |
| OKLab | oklab(45.76% -0.0007 -0.1376) |
| OKLCH | oklch(45.76% 0.138 269.7) |
| XYZ | xyz(11.1495, 9.1349, 35.8189) |
| Luminance | 0.0914 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 4.58
Sapphire
#0F52BA
ΔE00 4.72
Cobalt (survey)
#1E488F
ΔE00 4.96
Denim Blue
#3B5B92
ΔE00 5.30
Dusk Blue
#26538D
ΔE00 5.78
Blueberry
#464196
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A4FA3 #A38E3A
analogous
#3A83A3 #3A4FA3 #593AA3
triadic
#3A4FA3 #A33A4F #4FA33A
tetradic
#3A4FA3 #A33A83 #A38E3A #3AA359
square
#3A4FA3 #A33A83 #A38E3A #3AA359
split-complementary
#3A4FA3 #A3593A #83A33A
monochromatic
#1A2349 #2A3976 #3A4FA3 #576DC3 #8494D3
Accessibility & contrast
On white
7.43
#3A4FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#3A4FA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A4FA3
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A4FA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A4FA3 | 1.00 | 7.43 | 2.83 | 7.43 |
| #FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F5AA6
Deuteranopia (green-blind)
#0051A1
Tritanopia (blue-blind)
#006371
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #3a4fa3; /* rgb */ color: rgb(58, 79, 163); /* oklch */ color: oklch(45.8% 0.138 269.7);
Tailwind
colors: {
custom: {
50: '#7b80bf',
500: '#3a4fa3',
950: '#000000',
},
}SCSS
$custom: #3a4fa3; $custom-light: #7b80bf; $custom-dark: #000000;
JSON
{
"hex": "#3a4fa3",
"rgb": {
"r": 58,
"g": 79,
"b": 163
},
"hsl": {
"h": 228,
"s": 47.511,
"l": 43.333
},
"oklch": {
"l": 0.45764,
"c": 0.13756,
"h": 269.7
},
"luminance": 0.09136
}Semantic roles & 50–950 ramp
primary
#3A4FA3
secondary
#BDB07C
accent
#BC51D7
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81