#395AC5#395AC5
#395AC5 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.5% C 0.171 H 267.1°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #395AC5 |
|---|---|
| RGB | rgb(57, 90, 197) |
| HSL | hsl(226, 55%, 50%) |
| HSV | hsv(226, 71%, 77%) |
| CMYK | cmyk(71.1%, 54.3%, 0%, 22.7%) |
| CIE-LAB | lab(41.55, 24.62, -59.43) |
| CIE-LCH | lch(41.55, 64.33, 292.51°) |
| OKLab | oklab(50.52% -0.0087 -0.1711) |
| OKLCH | oklch(50.52% 0.171 267.1) |
| XYZ | xyz(15.4180, 12.2118, 54.3571) |
| Luminance | 0.1221 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.27
Warm Blue
#4B57DB
ΔE00 4.56
Azul
#1D5DEC
ΔE00 4.76
Denim
#1560BD
ΔE00 5.21
Royal Blue
#4169E1
ΔE00 6.20
French Blue
#436BAD
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#395AC5 #C5A439
analogous
#39A0C5 #395AC5 #5E39C5
triadic
#395AC5 #C5395A #5AC539
tetradic
#395AC5 #C539A0 #C5A439 #39C55E
square
#395AC5 #C539A0 #C5A439 #39C55E
split-complementary
#395AC5 #C55E39 #A0C539
monochromatic
#1E2F66 #2B4496 #395AC5 #6881D3 #97A9E1
Accessibility & contrast
On white
6.10
#395AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#395AC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #395AC5
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##395AC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##395AC5 | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069C9
Deuteranopia (green-blind)
#005CC3
Tritanopia (blue-blind)
#007487
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #395ac5; /* rgb */ color: rgb(57, 90, 197); /* oklch */ color: oklch(50.5% 0.171 267.1);
Tailwind
colors: {
custom: {
50: '#8188d7',
500: '#395ac5',
950: '#000000',
},
}SCSS
$custom: #395ac5; $custom-light: #8188d7; $custom-dark: #000000;
JSON
{
"hex": "#395ac5",
"rgb": {
"r": 57,
"g": 90,
"b": 197
},
"hsl": {
"h": 225.857,
"s": 55.118,
"l": 49.804
},
"oklch": {
"l": 0.5052,
"c": 0.17131,
"h": 267.1
},
"luminance": 0.12213
}Semantic roles & 50–950 ramp
primary
#395AC5
secondary
#CDBE8D
accent
#BB49DE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83