#395CCC#395CCC
#395CCC is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.5% C 0.178 H 266.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #395CCC |
|---|---|
| RGB | rgb(57, 92, 204) |
| HSL | hsl(226, 59%, 51%) |
| HSV | hsv(226, 72%, 80%) |
| CMYK | cmyk(72.1%, 54.9%, 0%, 20%) |
| CIE-LAB | lab(42.59, 25.89, -61.80) |
| CIE-LCH | lch(42.59, 67.01, 292.73°) |
| OKLab | oklab(51.46% -0.0099 -0.178) |
| OKLCH | oklch(51.46% 0.178 266.8) |
| XYZ | xyz(16.4098, 12.8821, 58.7367) |
| Luminance | 0.1288 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 3.79
Warm Blue
#4B57DB
ΔE00 4.14
Sapphire
#0F52BA
ΔE00 5.07
Royal Blue
#4169E1
ΔE00 5.17
Denim
#1560BD
ΔE00 5.28
Electric Blue
#0652FF
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#395CCC #CCA939
analogous
#39A5CC #395CCC #5F39CC
triadic
#395CCC #CC395C #5CCC39
tetradic
#395CCC #CC39A5 #CCA939 #39CC5F
square
#395CCC #CC39A5 #CCA939 #39CC5F
split-complementary
#395CCC #CC5F39 #A5CC39
monochromatic
#1C306E #29459F #395CCC #6A84D9 #9AACE5
Accessibility & contrast
On white
5.87
#395CCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#395CCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #395CCC
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##395CCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##395CCC | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#005ECA
Tritanopia (blue-blind)
#00778B
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #395ccc; /* rgb */ color: rgb(57, 92, 204); /* oklch */ color: oklch(51.5% 0.178 266.8);
Tailwind
colors: {
custom: {
50: '#8289dc',
500: '#395ccc',
950: '#000000',
},
}SCSS
$custom: #395ccc; $custom-light: #8289dc; $custom-dark: #000000;
JSON
{
"hex": "#395ccc",
"rgb": {
"r": 57,
"g": 92,
"b": 204
},
"hsl": {
"h": 225.714,
"s": 59.036,
"l": 51.176
},
"oklch": {
"l": 0.5146,
"c": 0.1783,
"h": 266.8
},
"luminance": 0.12884
}Semantic roles & 50–950 ramp
primary
#395CCC
secondary
#D1C190
accent
#BD46E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83