#3A4FAF#3A4FAF
#3A4FAF is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.7% C 0.155 H 270.1°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #3A4FAF |
|---|---|
| RGB | rgb(58, 79, 175) |
| HSL | hsl(229, 50%, 46%) |
| HSV | hsv(229, 67%, 69%) |
| CMYK | cmyk(66.9%, 54.9%, 0%, 31.4%) |
| CIE-LAB | lab(37.09, 23.91, -53.77) |
| CIE-LCH | lch(37.09, 58.85, 293.98°) |
| OKLab | oklab(46.67% 0.0002 -0.1546) |
| OKLCH | oklch(46.67% 0.155 270.1) |
| XYZ | xyz(12.2761, 9.5855, 41.7524) |
| Luminance | 0.0959 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.20
Cobalt
#0047AB
ΔE00 4.64
Blue Blue
#2242C7
ΔE00 5.20
Ocean Blue
#4F42B5
ΔE00 6.19
Cobalt (survey)
#1E488F
ΔE00 6.20
Denim Blue
#3B5B92
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A4FAF #AF9A3A
analogous
#3A89AF #3A4FAF #5F3AAF
triadic
#3A4FAF #AF3A4F #4FAF3A
tetradic
#3A4FAF #AF3A89 #AF9A3A #3AAF5F
square
#3A4FAF #AF3A89 #AF9A3A #3AAF5F
split-complementary
#3A4FAF #AF5F3A #89AF3A
monochromatic
#1C2553 #2B3A81 #3A4FAF #5D70C9 #8B99D9
Accessibility & contrast
On white
7.20
#3A4FAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#3A4FAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A4FAF
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A4FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A4FAF | 1.00 | 7.20 | 2.92 | 7.20 |
| #FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#035DB2
Deuteranopia (green-blind)
#0052AD
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #3a4faf; /* rgb */ color: rgb(58, 79, 175); /* oklch */ color: oklch(46.7% 0.155 270.1);
Tailwind
colors: {
custom: {
50: '#7e80c8',
500: '#3a4faf',
950: '#000000',
},
}SCSS
$custom: #3a4faf; $custom-light: #7e80c8; $custom-dark: #000000;
JSON
{
"hex": "#3a4faf",
"rgb": {
"r": 58,
"g": 79,
"b": 175
},
"hsl": {
"h": 229.231,
"s": 50.215,
"l": 45.686
},
"oklch": {
"l": 0.46671,
"c": 0.15457,
"h": 270.1
},
"luminance": 0.09587
}Semantic roles & 50–950 ramp
primary
#3A4FAF
secondary
#C3B782
accent
#C14EDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82