#3A4DAF#3A4DAF
#3A4DAF is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.3% C 0.157 H 270.7°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #3A4DAF |
|---|---|
| RGB | rgb(58, 77, 175) |
| HSL | hsl(230, 50%, 46%) |
| HSV | hsv(230, 67%, 69%) |
| CMYK | cmyk(66.9%, 56%, 0%, 31.4%) |
| CIE-LAB | lab(36.56, 25.22, -54.63) |
| CIE-LCH | lch(36.56, 60.17, 294.78°) |
| OKLab | oklab(46.27% 0.002 -0.1571) |
| OKLCH | oklch(46.27% 0.157 270.7) |
| XYZ | xyz(12.1340, 9.3013, 41.7050) |
| Luminance | 0.0930 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 4.58
Sapphire
#0F52BA
ΔE00 4.60
Blue Blue
#2242C7
ΔE00 4.73
Ocean Blue
#4F42B5
ΔE00 5.61
Blueberry
#464196
ΔE00 5.97
Cobalt (survey)
#1E488F
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A4DAF #AF9C3A
analogous
#3A88AF #3A4DAF #613AAF
triadic
#3A4DAF #AF3A4D #4DAF3A
tetradic
#3A4DAF #AF3A88 #AF9C3A #3AAF61
square
#3A4DAF #AF3A88 #AF9C3A #3AAF61
split-complementary
#3A4DAF #AF613A #88AF3A
monochromatic
#1C2553 #2B3981 #3A4DAF #5D6FC9 #8B97D9
Accessibility & contrast
On white
7.34
#3A4DAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#3A4DAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A4DAF
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A4DAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A4DAF | 1.00 | 7.34 | 2.86 | 7.34 |
| #FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#0051AD
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #3a4daf; /* rgb */ color: rgb(58, 77, 175); /* oklch */ color: oklch(46.3% 0.157 270.7);
Tailwind
colors: {
custom: {
50: '#7e7ec8',
500: '#3a4daf',
950: '#000000',
},
}SCSS
$custom: #3a4daf; $custom-light: #7e7ec8; $custom-dark: #000000;
JSON
{
"hex": "#3a4daf",
"rgb": {
"r": 58,
"g": 77,
"b": 175
},
"hsl": {
"h": 230.256,
"s": 50.215,
"l": 45.686
},
"oklch": {
"l": 0.46273,
"c": 0.15713,
"h": 270.7
},
"luminance": 0.09302
}Semantic roles & 50–950 ramp
primary
#3A4DAF
secondary
#C3B882
accent
#C34EDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82