#3A5ABA#3A5ABA
#3A5ABA is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.7% C 0.156 H 266.8°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #3A5ABA |
|---|---|
| RGB | rgb(58, 90, 186) |
| HSL | hsl(225, 52%, 48%) |
| HSV | hsv(225, 69%, 73%) |
| CMYK | cmyk(68.8%, 51.6%, 0%, 27.1%) |
| CIE-LAB | lab(40.83, 20.75, -54.20) |
| CIE-LCH | lch(40.83, 58.04, 290.95°) |
| OKLab | oklab(49.74% -0.0088 -0.1557) |
| OKLCH | oklch(49.74% 0.156 266.8) |
| XYZ | xyz(14.2609, 11.7556, 47.9624) |
| Luminance | 0.1176 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.78
Denim
#1560BD
ΔE00 4.79
Denim Blue
#3B5B92
ΔE00 5.38
Dusky Blue
#475F94
ΔE00 5.66
Warm Blue
#4B57DB
ΔE00 5.84
Azul
#1D5DEC
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A5ABA #BA9A3A
analogous
#3A9ABA #3A5ABA #5A3ABA
triadic
#3A5ABA #BA3A5A #5ABA3A
tetradic
#3A5ABA #BA3A9A #BA9A3A #3ABA5A
square
#3A5ABA #BA3A9A #BA9A3A #3ABA5A
split-complementary
#3A5ABA #BA5A3A #9ABA3A
monochromatic
#1D2D5D #2B438B #3A5ABA #637ECE #92A4DD
Accessibility & contrast
On white
6.27
#3A5ABA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#3A5ABA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A5ABA
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A5ABA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A5ABA | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F66BD
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#007181
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #3a5aba; /* rgb */ color: rgb(58, 90, 186); /* oklch */ color: oklch(49.7% 0.156 266.8);
Tailwind
colors: {
custom: {
50: '#7f88cf',
500: '#3a5aba',
950: '#000000',
},
}SCSS
$custom: #3a5aba; $custom-light: #7f88cf; $custom-dark: #000000;
JSON
{
"hex": "#3a5aba",
"rgb": {
"r": 58,
"g": 90,
"b": 186
},
"hsl": {
"h": 225,
"s": 52.459,
"l": 47.843
},
"oklch": {
"l": 0.49739,
"c": 0.15593,
"h": 266.8
},
"luminance": 0.11757
}Semantic roles & 50–950 ramp
primary
#3A5ABA
secondary
#C8B888
accent
#B84CDC
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82