#395799#395799
#395799 is a mid, moderate blue. Relative luminance 0.100; OKLCH L 46.7% C 0.113 H 264.1°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #395799 |
|---|---|
| RGB | rgb(57, 87, 153) |
| HSL | hsl(221, 46%, 41%) |
| HSV | hsv(221, 63%, 60%) |
| CMYK | cmyk(62.7%, 43.1%, 0%, 40%) |
| CIE-LAB | lab(37.82, 10.53, -39.47) |
| CIE-LCH | lch(37.82, 40.85, 284.94°) |
| OKLab | oklab(46.75% -0.0116 -0.1124) |
| OKLCH | oklch(46.75% 0.113 264.1) |
| XYZ | xyz(10.8433, 9.9852, 31.4867) |
| Luminance | 0.0999 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 1.84
Dusky Blue
#475F94
ΔE00 3.29
Dusk Blue
#26538D
ΔE00 3.55
Light Navy Blue
#2E5A88
ΔE00 4.37
Sapphire
#0F52BA
ΔE00 4.98
Cobalt (survey)
#1E488F
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#395799 #997B39
analogous
#398799 #395799 #4B3999
triadic
#395799 #993957 #579939
tetradic
#395799 #993987 #997B39 #39994B
square
#395799 #993987 #997B39 #39994B
split-complementary
#395799 #994B39 #879939
monochromatic
#182440 #283E6C #395799 #5173BE #7E97CF
Accessibility & contrast
On white
7.01
#395799 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
3.00
#395799 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #395799
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##395799 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##395799 | 1.00 | 7.01 | 3.00 | 7.01 |
| #FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#395E9C
Deuteranopia (green-blind)
#2B5598
Tritanopia (blue-blind)
#006670
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #395799; /* rgb */ color: rgb(57, 87, 153); /* oklch */ color: oklch(46.7% 0.113 264.1);
Tailwind
colors: {
custom: {
50: '#7986b7',
500: '#395799',
950: '#000000',
},
}SCSS
$custom: #395799; $custom-light: #7986b7; $custom-dark: #000000;
JSON
{
"hex": "#395799",
"rgb": {
"r": 57,
"g": 87,
"b": 153
},
"hsl": {
"h": 221.25,
"s": 45.714,
"l": 41.176
},
"oklch": {
"l": 0.46746,
"c": 0.11303,
"h": 264.1
},
"luminance": 0.09986
}Semantic roles & 50–950 ramp
primary
#395799
secondary
#B8A376
accent
#AC52D5
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B11
muted
#7C7C80