#3A5BC9#3A5BC9
#3A5BC9 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.1% C 0.175 H 267.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #3A5BC9 |
|---|---|
| RGB | rgb(58, 91, 201) |
| HSL | hsl(226, 57%, 51%) |
| HSV | hsv(226, 71%, 79%) |
| CMYK | cmyk(71.1%, 54.7%, 0%, 21.2%) |
| CIE-LAB | lab(42.15, 25.58, -60.77) |
| CIE-LCH | lch(42.15, 65.94, 292.82°) |
| OKLab | oklab(51.08% -0.0084 -0.175) |
| OKLCH | oklch(51.08% 0.175 267.3) |
| XYZ | xyz(16.0250, 12.5971, 56.8340) |
| Luminance | 0.1260 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.17
Azul
#1D5DEC
ΔE00 4.22
Sapphire
#0F52BA
ΔE00 4.78
Denim
#1560BD
ΔE00 5.37
Royal Blue
#4169E1
ΔE00 5.63
Electric Blue
#0652FF
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A5BC9 #C9A83A
analogous
#3AA2C9 #3A5BC9 #603AC9
triadic
#3A5BC9 #C93A5B #5BC93A
tetradic
#3A5BC9 #C93AA2 #C9A83A #3AC960
square
#3A5BC9 #C93AA2 #C9A83A #3AC960
split-complementary
#3A5BC9 #C9603A #A2C93A
monochromatic
#1D2F6B #2B459B #3A5BC9 #6A83D6 #9AABE3
Accessibility & contrast
On white
5.97
#3A5BC9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#3A5BC9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A5BC9
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A5BC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A5BC9 | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACD
Deuteranopia (green-blind)
#005DC7
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #3a5bc9; /* rgb */ color: rgb(58, 91, 201); /* oklch */ color: oklch(51.1% 0.175 267.3);
Tailwind
colors: {
custom: {
50: '#8288da',
500: '#3a5bc9',
950: '#000000',
},
}SCSS
$custom: #3a5bc9; $custom-light: #8288da; $custom-dark: #000000;
JSON
{
"hex": "#3a5bc9",
"rgb": {
"r": 58,
"g": 91,
"b": 201
},
"hsl": {
"h": 226.154,
"s": 56.972,
"l": 50.784
},
"oklch": {
"l": 0.51076,
"c": 0.1752,
"h": 267.3
},
"luminance": 0.12599
}Semantic roles & 50–950 ramp
primary
#3A5BC9
secondary
#CFC090
accent
#BD48E0
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83