#395EC5#395EC5

#395EC5 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.3% C 0.166 H 265.9°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#395EC5
RGBrgb(57, 94, 197)
HSLhsl(224, 55%, 50%)
HSVhsv(224, 71%, 77%)
CMYKcmyk(71.1%, 52.3%, 0%, 22.7%)
CIE-LABlab(42.62, 22.05, -57.70)
CIE-LCHlch(42.62, 61.77, 290.91°)
OKLaboklab(51.33% -0.012 -0.1659)
OKLCHoklch(51.33% 0.166 265.9)
XYZxyz(15.7646, 12.9048, 54.4726)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395EC5 #C5A039
analogous
#39A4C5 #395EC5 #5A39C5
triadic
#395EC5 #C5395E #5EC539
tetradic
#395EC5 #C539A4 #C5A039 #39C55A
square
#395EC5 #C539A4 #C5A039 #39C55A
split-complementary
#395EC5 #C55A39 #A4C539
monochromatic
#1E3166 #2B4796 #395EC5 #6884D3 #97ABE1

Accessibility & contrast

On white

5.86
#395EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#395EC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395EC5
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395EC5#FFFFFF#000000##FFFFFF
##395EC51.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196BC9
Deuteranopia (green-blind)
#005FC3
Tritanopia (blue-blind)
#007788
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #395ec5;
/* rgb */ color: rgb(57, 94, 197);
/* oklch */ color: oklch(51.3% 0.166 265.9);
Tailwind
colors: {
  custom: {
    50: '#818bd7',
    500: '#395ec5',
    950: '#000000',
  },
}
SCSS
$custom: #395ec5;
$custom-light: #818bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#395ec5",
  "rgb": {
    "r": 57,
    "g": 94,
    "b": 197
  },
  "hsl": {
    "h": 224.143,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51328,
    "c": 0.16638,
    "h": 265.9
  },
  "luminance": 0.12906
}

Semantic roles & 50–950 ramp

primary
#395EC5
secondary
#CDBC8D
accent
#B749DE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #395EC5

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#395EC5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva