#3A4FAA#3A4FAA
#3A4FAA is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.3% C 0.148 H 270.0°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #3A4FAA |
|---|---|
| RGB | rgb(58, 79, 170) |
| HSL | hsl(229, 49%, 45%) |
| HSV | hsv(229, 66%, 67%) |
| CMYK | cmyk(65.9%, 53.5%, 0%, 33.3%) |
| CIE-LAB | lab(36.73, 22.11, -51.38) |
| CIE-LCH | lch(36.73, 55.94, 293.28°) |
| OKLab | oklab(46.29% -0.0001 -0.1475) |
| OKLCH | oklch(46.29% 0.148 270) |
| XYZ | xyz(11.7941, 9.3927, 39.2138) |
| Luminance | 0.0939 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.33
Cobalt
#0047AB
ΔE00 4.53
Cobalt (survey)
#1E488F
ΔE00 5.65
Blue Blue
#2242C7
ΔE00 5.72
Denim Blue
#3B5B92
ΔE00 5.85
Blueberry
#464196
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A4FAA #AA953A
analogous
#3A87AA #3A4FAA #5D3AAA
triadic
#3A4FAA #AA3A4F #4FAA3A
tetradic
#3A4FAA #AA3A87 #AA953A #3AAA5D
square
#3A4FAA #AA3A87 #AA953A #3AAA5D
split-complementary
#3A4FAA #AA5D3A #87AA3A
monochromatic
#1B254F #2A3A7C #3A4FAA #5A6FC7 #8897D6
Accessibility & contrast
On white
7.29
#3A4FAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#3A4FAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A4FAA
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A4FAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A4FAA | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#135CAD
Deuteranopia (green-blind)
#0052A8
Tritanopia (blue-blind)
#006575
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #3a4faa; /* rgb */ color: rgb(58, 79, 170); /* oklch */ color: oklch(46.3% 0.148 270.0);
Tailwind
colors: {
custom: {
50: '#7d80c4',
500: '#3a4faa',
950: '#000000',
},
}SCSS
$custom: #3a4faa; $custom-light: #7d80c4; $custom-dark: #000000;
JSON
{
"hex": "#3a4faa",
"rgb": {
"r": 58,
"g": 79,
"b": 170
},
"hsl": {
"h": 228.75,
"s": 49.123,
"l": 44.706
},
"oklch": {
"l": 0.46287,
"c": 0.14754,
"h": 270
},
"luminance": 0.09394
}Semantic roles & 50–950 ramp
primary
#3A4FAA
secondary
#C1B47F
accent
#BF4FD9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82