#3A4FB7#3A4FB7
#3A4FB7 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.3% C 0.166 H 270.2°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #3A4FB7 |
|---|---|
| RGB | rgb(58, 79, 183) |
| HSL | hsl(230, 52%, 47%) |
| HSV | hsv(230, 68%, 72%) |
| CMYK | cmyk(68.3%, 56.8%, 0%, 28.2%) |
| CIE-LAB | lab(37.68, 26.80, -57.54) |
| CIE-LCH | lch(37.68, 63.47, 294.98°) |
| OKLab | oklab(47.3% 0.0006 -0.1656) |
| OKLCH | oklch(47.3% 0.166 270.2) |
| XYZ | xyz(13.0852, 9.9092, 46.0136) |
| Luminance | 0.0991 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.23
Blue Blue
#2242C7
ΔE00 4.52
Cobalt
#0047AB
ΔE00 5.06
Ocean Blue
#4F42B5
ΔE00 5.82
Warm Blue
#4B57DB
ΔE00 6.02
Blue (survey)
#0343DF
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A4FB7 #B7A23A
analogous
#3A8EB7 #3A4FB7 #643AB7
triadic
#3A4FB7 #B73A4F #4FB73A
tetradic
#3A4FB7 #B73A8E #B7A23A #3AB764
square
#3A4FB7 #B73A8E #B7A23A #3AB764
split-complementary
#3A4FB7 #B7643A #8EB73A
monochromatic
#1D275A #2B3B89 #3A4FB7 #6173CD #909CDC
Accessibility & contrast
On white
7.04
#3A4FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#3A4FB7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A4FB7
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A4FB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A4FB7 | 1.00 | 7.04 | 2.98 | 7.04 |
| #FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBB
Deuteranopia (green-blind)
#0053B5
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #3a4fb7; /* rgb */ color: rgb(58, 79, 183); /* oklch */ color: oklch(47.3% 0.166 270.2);
Tailwind
colors: {
custom: {
50: '#7f80cd',
500: '#3a4fb7',
950: '#000000',
},
}SCSS
$custom: #3a4fb7; $custom-light: #7f80cd; $custom-dark: #000000;
JSON
{
"hex": "#3a4fb7",
"rgb": {
"r": 58,
"g": 79,
"b": 183
},
"hsl": {
"h": 229.92,
"s": 51.867,
"l": 47.255
},
"oklch": {
"l": 0.47301,
"c": 0.16565,
"h": 270.2
},
"luminance": 0.0991
}Semantic roles & 50–950 ramp
primary
#3A4FB7
secondary
#C7BC86
accent
#C34CDB
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82