#395EC2#395EC2

#395EC2 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.1% C 0.162 H 265.6°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#395EC2
RGBrgb(57, 94, 194)
HSLhsl(224, 55%, 49%)
HSVhsv(224, 71%, 76%)
CMYKcmyk(70.6%, 51.5%, 0%, 23.9%)
CIE-LABlab(42.41, 20.95, -56.30)
CIE-LCHlch(42.41, 60.07, 290.41°)
OKLaboklab(51.11% -0.0123 -0.1618)
OKLCHoklch(51.11% 0.162 265.6)
XYZxyz(15.4242, 12.7687, 52.6802)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395EC2 #C29D39
analogous
#39A3C2 #395EC2 #5939C2
triadic
#395EC2 #C2395E #5EC239
tetradic
#395EC2 #C239A3 #C29D39 #39C259
square
#395EC2 #C239A3 #C29D39 #39C259
split-complementary
#395EC2 #C25939 #A3C239
monochromatic
#1D3063 #2B4793 #395EC2 #6683D2 #95AAE0

Accessibility & contrast

On white

5.91
#395EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #395EC2
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395EC2#FFFFFF#000000##FFFFFF
##395EC21.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F6BC6
Deuteranopia (green-blind)
#005EC0
Tritanopia (blue-blind)
#007687
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #395ec2;
/* rgb */ color: rgb(57, 94, 194);
/* oklch */ color: oklch(51.1% 0.162 265.6);
Tailwind
colors: {
  custom: {
    50: '#808bd5',
    500: '#395ec2',
    950: '#000000',
  },
}
SCSS
$custom: #395ec2;
$custom-light: #808bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#395ec2",
  "rgb": {
    "r": 57,
    "g": 94,
    "b": 194
  },
  "hsl": {
    "h": 223.796,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51106,
    "c": 0.16228,
    "h": 265.6
  },
  "luminance": 0.1277
}

Semantic roles & 50–950 ramp

primary
#395EC2
secondary
#CBBA8B
accent
#B64ADE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #395EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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