#395FC7#395FC7
#395FC7 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.7% C 0.168 H 265.7°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #395FC7 |
|---|---|
| RGB | rgb(57, 95, 199) |
| HSL | hsl(224, 56%, 50%) |
| HSV | hsv(224, 71%, 78%) |
| CMYK | cmyk(71.4%, 52.3%, 0%, 22%) |
| CIE-LAB | lab(43.03, 22.14, -58.20) |
| CIE-LCH | lch(43.03, 62.27, 290.82°) |
| OKLab | oklab(51.68% -0.0127 -0.1674) |
| OKLCH | oklch(51.68% 0.168 265.7) |
| XYZ | xyz(16.0847, 13.1761, 55.7173) |
| Luminance | 0.1318 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 4.31
Azul
#1D5DEC
ΔE00 4.34
Royal Blue
#4169E1
ΔE00 4.85
Sapphire
#0F52BA
ΔE00 5.19
French Blue
#436BAD
ΔE00 5.26
Warm Blue
#4B57DB
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#395FC7 #C7A139
analogous
#39A6C7 #395FC7 #5A39C7
triadic
#395FC7 #C7395F #5FC739
tetradic
#395FC7 #C739A6 #C7A139 #39C75A
square
#395FC7 #C739A6 #C7A139 #39C75A
split-complementary
#395FC7 #C75A39 #A6C739
monochromatic
#1D3168 #2B4898 #395FC7 #6986D4 #98ACE2
Accessibility & contrast
On white
5.78
#395FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#395FC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #395FC7
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##395FC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##395FC7 | 1.00 | 5.78 | 3.64 | 5.78 |
| #FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#196CCB
Deuteranopia (green-blind)
#005FC5
Tritanopia (blue-blind)
#00788A
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #395fc7; /* rgb */ color: rgb(57, 95, 199); /* oklch */ color: oklch(51.7% 0.168 265.7);
Tailwind
colors: {
custom: {
50: '#818bd9',
500: '#395fc7',
950: '#000000',
},
}SCSS
$custom: #395fc7; $custom-light: #818bd9; $custom-dark: #000000;
JSON
{
"hex": "#395fc7",
"rgb": {
"r": 57,
"g": 95,
"b": 199
},
"hsl": {
"h": 223.944,
"s": 55.906,
"l": 50.196
},
"oklch": {
"l": 0.51682,
"c": 0.16786,
"h": 265.7
},
"luminance": 0.13178
}Semantic roles & 50–950 ramp
primary
#395FC7
secondary
#CEBD8E
accent
#B749DF
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C15
muted
#7D7D83