#3A4FB3#3A4FB3
#3A4FB3 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.0% C 0.160 H 270.2°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #3A4FB3 |
|---|---|
| RGB | rgb(58, 79, 179) |
| HSL | hsl(230, 51%, 46%) |
| HSV | hsv(230, 68%, 70%) |
| CMYK | cmyk(67.6%, 55.9%, 0%, 29.8%) |
| CIE-LAB | lab(37.38, 25.36, -55.66) |
| CIE-LCH | lch(37.38, 61.17, 294.49°) |
| OKLab | oklab(46.98% 0.0004 -0.1601) |
| OKLCH | oklch(46.98% 0.16 270.2) |
| XYZ | xyz(12.6748, 9.7450, 43.8521) |
| Luminance | 0.0975 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.17
Cobalt
#0047AB
ΔE00 4.82
Blue Blue
#2242C7
ΔE00 4.83
Ocean Blue
#4F42B5
ΔE00 5.98
Blue (survey)
#0343DF
ΔE00 6.49
Warm Blue
#4B57DB
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A4FB3 #B39E3A
analogous
#3A8CB3 #3A4FB3 #623AB3
triadic
#3A4FB3 #B33A4F #4FB33A
tetradic
#3A4FB3 #B33A8C #B39E3A #3AB362
square
#3A4FB3 #B33A8C #B39E3A #3AB362
split-complementary
#3A4FB3 #B3623A #8CB33A
monochromatic
#1C2657 #2B3B85 #3A4FB3 #5F72CB #8D9BDA
Accessibility & contrast
On white
7.12
#3A4FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#3A4FB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A4FB3
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A4FB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A4FB3 | 1.00 | 7.12 | 2.95 | 7.12 |
| #FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EB6
Deuteranopia (green-blind)
#0053B1
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #3a4fb3; /* rgb */ color: rgb(58, 79, 179); /* oklch */ color: oklch(47.0% 0.160 270.2);
Tailwind
colors: {
custom: {
50: '#7e80ca',
500: '#3a4fb3',
950: '#000000',
},
}SCSS
$custom: #3a4fb3; $custom-light: #7e80ca; $custom-dark: #000000;
JSON
{
"hex": "#3a4fb3",
"rgb": {
"r": 58,
"g": 79,
"b": 179
},
"hsl": {
"h": 229.587,
"s": 51.055,
"l": 46.471
},
"oklch": {
"l": 0.46983,
"c": 0.16013,
"h": 270.2
},
"luminance": 0.09746
}Semantic roles & 50–950 ramp
primary
#3A4FB3
secondary
#C5BA84
accent
#C24DDB
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82