#3A4FAC#3A4FAC
#3A4FAC is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.4% C 0.150 H 270.0°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #3A4FAC |
|---|---|
| RGB | rgb(58, 79, 172) |
| HSL | hsl(229, 50%, 45%) |
| HSV | hsv(229, 66%, 67%) |
| CMYK | cmyk(66.3%, 54.1%, 0%, 32.5%) |
| CIE-LAB | lab(36.87, 22.83, -52.34) |
| CIE-LCH | lch(36.87, 57.10, 293.57°) |
| OKLab | oklab(46.44% 0 -0.1504) |
| OKLCH | oklch(46.44% 0.15 270) |
| XYZ | xyz(11.9848, 9.4690, 40.2178) |
| Luminance | 0.0947 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.26
Cobalt
#0047AB
ΔE00 4.56
Blue Blue
#2242C7
ΔE00 5.51
Cobalt (survey)
#1E488F
ΔE00 5.87
Denim Blue
#3B5B92
ΔE00 6.03
Blueberry
#464196
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A4FAC #AC973A
analogous
#3A88AC #3A4FAC #5E3AAC
triadic
#3A4FAC #AC3A4F #4FAC3A
tetradic
#3A4FAC #AC3A88 #AC973A #3AAC5E
square
#3A4FAC #AC3A88 #AC973A #3AAC5E
split-complementary
#3A4FAC #AC5E3A #88AC3A
monochromatic
#1B2550 #2B3A7E #3A4FAC #5B6FC8 #8998D7
Accessibility & contrast
On white
7.26
#3A4FAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#3A4FAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A4FAC
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A4FAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A4FAC | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E5CAF
Deuteranopia (green-blind)
#0052AA
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #3a4fac; /* rgb */ color: rgb(58, 79, 172); /* oklch */ color: oklch(46.4% 0.150 270.0);
Tailwind
colors: {
custom: {
50: '#7d80c5',
500: '#3a4fac',
950: '#000000',
},
}SCSS
$custom: #3a4fac; $custom-light: #7d80c5; $custom-dark: #000000;
JSON
{
"hex": "#3a4fac",
"rgb": {
"r": 58,
"g": 79,
"b": 172
},
"hsl": {
"h": 228.947,
"s": 49.565,
"l": 45.098
},
"oklch": {
"l": 0.4644,
"c": 0.15036,
"h": 270
},
"luminance": 0.0947
}Semantic roles & 50–950 ramp
primary
#3A4FAC
secondary
#C2B680
accent
#C04FD9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82