#395CD4#395CD4

#395CD4 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.1% C 0.189 H 267.1°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#395CD4
RGBrgb(57, 92, 212)
HSLhsl(226, 64%, 53%)
HSVhsv(226, 73%, 83%)
CMYKcmyk(73.1%, 56.6%, 0%, 16.9%)
CIE-LABlab(43.18, 28.80, -65.44)
CIE-LCHlch(43.18, 71.50, 293.76°)
OKLaboklab(52.09% -0.0095 -0.1887)
OKLCHoklch(52.09% 0.189 267.1)
XYZxyz(17.3940, 13.2758, 63.9204)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395CD4 #D4B139
analogous
#39A9D4 #395CD4 #6439D4
triadic
#395CD4 #D4395C #5CD439
tetradic
#395CD4 #D439A9 #D4B139 #39D464
square
#395CD4 #D439A9 #D4B139 #39D464
split-complementary
#395CD4 #D46439 #A9D439
monochromatic
#1A2F78 #2543AB #395CD4 #6B85DF #9EAFEA

Accessibility & contrast

On white

5.74
#395CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#395CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395CD4
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395CD4#FFFFFF#000000##FFFFFF
##395CD41.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD8
Deuteranopia (green-blind)
#005FD2
Tritanopia (blue-blind)
#007A8F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #395cd4;
/* rgb */ color: rgb(57, 92, 212);
/* oklch */ color: oklch(52.1% 0.189 267.1);
Tailwind
colors: {
  custom: {
    50: '#8489e2',
    500: '#395cd4',
    950: '#000000',
  },
}
SCSS
$custom: #395cd4;
$custom-light: #8489e2;
$custom-dark: #000000;
JSON
{
  "hex": "#395cd4",
  "rgb": {
    "r": 57,
    "g": 92,
    "b": 212
  },
  "hsl": {
    "h": 226.452,
    "s": 64.315,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5209,
    "c": 0.18896,
    "h": 267.1
  },
  "luminance": 0.13278
}

Semantic roles & 50–950 ramp

primary
#395CD4
secondary
#D6C793
accent
#C240E7
background
#F8F8FE
surface
#F0F0FC
border
#CBCBD5
text
#0C0B15
muted
#7D7C84

Preview Lab

Preview with #395CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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