#395AC6#395AC6
#395AC6 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.6% C 0.173 H 267.1°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #395AC6 |
|---|---|
| RGB | rgb(57, 90, 198) |
| HSL | hsl(226, 55%, 50%) |
| HSV | hsv(226, 71%, 78%) |
| CMYK | cmyk(71.2%, 54.5%, 0%, 22.4%) |
| CIE-LAB | lab(41.62, 24.99, -59.90) |
| CIE-LCH | lch(41.62, 64.90, 292.65°) |
| OKLab | oklab(50.6% -0.0087 -0.1724) |
| OKLCH | oklch(50.6% 0.173 267.1) |
| XYZ | xyz(15.5330, 12.2578, 54.9625) |
| Luminance | 0.1226 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.35
Warm Blue
#4B57DB
ΔE00 4.44
Azul
#1D5DEC
ΔE00 4.64
Denim
#1560BD
ΔE00 5.28
Royal Blue
#4169E1
ΔE00 6.12
French Blue
#436BAD
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#395AC6 #C6A539
analogous
#39A1C6 #395AC6 #5E39C6
triadic
#395AC6 #C6395A #5AC639
tetradic
#395AC6 #C639A1 #C6A539 #39C65E
square
#395AC6 #C639A1 #C6A539 #39C65E
split-complementary
#395AC6 #C65E39 #A1C639
monochromatic
#1E2F67 #2B4496 #395AC6 #6982D4 #98A9E1
Accessibility & contrast
On white
6.08
#395AC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#395AC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #395AC6
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##395AC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##395AC6 | 1.00 | 6.08 | 3.45 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CA
Deuteranopia (green-blind)
#005CC4
Tritanopia (blue-blind)
#007487
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #395ac6; /* rgb */ color: rgb(57, 90, 198); /* oklch */ color: oklch(50.6% 0.173 267.1);
Tailwind
colors: {
custom: {
50: '#8188d8',
500: '#395ac6',
950: '#000000',
},
}SCSS
$custom: #395ac6; $custom-light: #8188d8; $custom-dark: #000000;
JSON
{
"hex": "#395ac6",
"rgb": {
"r": 57,
"g": 90,
"b": 198
},
"hsl": {
"h": 225.957,
"s": 55.294,
"l": 50
},
"oklch": {
"l": 0.50598,
"c": 0.17267,
"h": 267.1
},
"luminance": 0.12259
}Semantic roles & 50–950 ramp
primary
#395AC6
secondary
#CDBE8E
accent
#BC49DF
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B15
muted
#7D7C83