#395ED6#395ED6

#395ED6 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.6% C 0.189 H 266.7°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#395ED6
RGBrgb(57, 94, 214)
HSLhsl(226, 66%, 53%)
HSVhsv(226, 73%, 84%)
CMYKcmyk(73.4%, 56.1%, 0%, 16.1%)
CIE-LABlab(43.84, 28.25, -65.50)
CIE-LCHlch(43.84, 71.33, 293.33°)
OKLaboklab(52.64% -0.0108 -0.1889)
OKLCHoklch(52.64% 0.189 266.7)
XYZxyz(17.8234, 13.7284, 65.3158)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395ED6 #D6B139
analogous
#39ACD6 #395ED6 #6239D6
triadic
#395ED6 #D6395E #5ED639
tetradic
#395ED6 #D639AC #D6B139 #39D662
square
#395ED6 #D639AC #D6B139 #39D662
split-complementary
#395ED6 #D66239 #ACD639
monochromatic
#19307B #2444AE #395ED6 #6C87E0 #9EB0EB

Accessibility & contrast

On white

5.61
#395ED6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#395ED6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395ED6
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395ED6#FFFFFF#000000##FFFFFF
##395ED61.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDA
Deuteranopia (green-blind)
#0061D4
Tritanopia (blue-blind)
#007C91
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #395ed6;
/* rgb */ color: rgb(57, 94, 214);
/* oklch */ color: oklch(52.6% 0.189 266.7);
Tailwind
colors: {
  custom: {
    50: '#848be3',
    500: '#395ed6',
    950: '#000000',
  },
}
SCSS
$custom: #395ed6;
$custom-light: #848be3;
$custom-dark: #000000;
JSON
{
  "hex": "#395ed6",
  "rgb": {
    "r": 57,
    "g": 94,
    "b": 214
  },
  "hsl": {
    "h": 225.86,
    "s": 65.69,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52636,
    "c": 0.18919,
    "h": 266.7
  },
  "luminance": 0.1373
}

Semantic roles & 50–950 ramp

primary
#395ED6
secondary
#D7C794
accent
#C13FE9
background
#F8F8FE
surface
#F0F0FC
border
#CBCBD5
text
#0C0B16
muted
#7D7C84

Preview Lab

Preview with #395ED6

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

Preview Lab → · Contrast checker → · Palette generator →

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