#395EC1#395EC1

#395EC1 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.0% C 0.161 H 265.6°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#395EC1
RGBrgb(57, 94, 193)
HSLhsl(224, 54%, 49%)
HSVhsv(224, 70%, 76%)
CMYKcmyk(70.5%, 51.3%, 0%, 24.3%)
CIE-LABlab(42.34, 20.58, -55.83)
CIE-LCHlch(42.34, 59.50, 290.23°)
OKLaboklab(51.03% -0.0124 -0.1604)
OKLCHoklch(51.03% 0.161 265.6)
XYZxyz(15.3123, 12.7240, 52.0907)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395EC1 #C19C39
analogous
#39A2C1 #395EC1 #5839C1
triadic
#395EC1 #C1395E #5EC139
tetradic
#395EC1 #C139A2 #C19C39 #39C158
square
#395EC1 #C139A2 #C19C39 #39C158
split-complementary
#395EC1 #C15839 #A2C139
monochromatic
#1D3063 #2B4792 #395EC1 #6683D2 #95A9E0

Accessibility & contrast

On white

5.92
#395EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#395EC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395EC1
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395EC1#FFFFFF#000000##FFFFFF
##395EC11.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#206BC5
Deuteranopia (green-blind)
#005EBF
Tritanopia (blue-blind)
#007686
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #395ec1;
/* rgb */ color: rgb(57, 94, 193);
/* oklch */ color: oklch(51.0% 0.161 265.6);
Tailwind
colors: {
  custom: {
    50: '#808bd4',
    500: '#395ec1',
    950: '#000000',
  },
}
SCSS
$custom: #395ec1;
$custom-light: #808bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#395ec1",
  "rgb": {
    "r": 57,
    "g": 94,
    "b": 193
  },
  "hsl": {
    "h": 223.676,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51032,
    "c": 0.1609,
    "h": 265.6
  },
  "luminance": 0.12726
}

Semantic roles & 50–950 ramp

primary
#395EC1
secondary
#CBBA8B
accent
#B64ADE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #395EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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