#395EC6#395EC6

#395EC6 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.4% C 0.168 H 265.9°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#395EC6
RGBrgb(57, 94, 198)
HSLhsl(224, 55%, 50%)
HSVhsv(224, 71%, 78%)
CMYKcmyk(71.2%, 52.5%, 0%, 22.4%)
CIE-LABlab(42.69, 22.41, -58.17)
CIE-LCHlch(42.69, 62.34, 291.07°)
OKLaboklab(51.4% -0.0119 -0.1673)
OKLCHoklch(51.4% 0.168 265.9)
XYZxyz(15.8795, 12.9508, 55.0780)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395EC6 #C6A139
analogous
#39A5C6 #395EC6 #5A39C6
triadic
#395EC6 #C6395E #5EC639
tetradic
#395EC6 #C639A5 #C6A139 #39C65A
square
#395EC6 #C639A5 #C6A139 #39C65A
split-complementary
#395EC6 #C65A39 #A5C639
monochromatic
#1E3167 #2B4796 #395EC6 #6985D4 #98ABE1

Accessibility & contrast

On white

5.85
#395EC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#395EC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395EC6
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395EC6#FFFFFF#000000##FFFFFF
##395EC61.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#176CCA
Deuteranopia (green-blind)
#005FC4
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #395ec6;
/* rgb */ color: rgb(57, 94, 198);
/* oklch */ color: oklch(51.4% 0.168 265.9);
Tailwind
colors: {
  custom: {
    50: '#818bd8',
    500: '#395ec6',
    950: '#000000',
  },
}
SCSS
$custom: #395ec6;
$custom-light: #818bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#395ec6",
  "rgb": {
    "r": 57,
    "g": 94,
    "b": 198
  },
  "hsl": {
    "h": 224.255,
    "s": 55.294,
    "l": 50
  },
  "oklch": {
    "l": 0.51403,
    "c": 0.16774,
    "h": 265.9
  },
  "luminance": 0.12952
}

Semantic roles & 50–950 ramp

primary
#395EC6
secondary
#CDBC8E
accent
#B749DF
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #395EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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