#395EC3#395EC3

#395EC3 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.2% C 0.164 H 265.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#395EC3
RGBrgb(57, 94, 195)
HSLhsl(224, 55%, 49%)
HSVhsv(224, 71%, 76%)
CMYKcmyk(70.8%, 51.8%, 0%, 23.5%)
CIE-LABlab(42.48, 21.31, -56.77)
CIE-LCHlch(42.48, 60.64, 290.58°)
OKLaboklab(51.18% -0.0122 -0.1632)
OKLCHoklch(51.18% 0.164 265.7)
XYZxyz(15.5369, 12.8138, 53.2737)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395EC3 #C39E39
analogous
#39A3C3 #395EC3 #5939C3
triadic
#395EC3 #C3395E #5EC339
tetradic
#395EC3 #C339A3 #C39E39 #39C359
square
#395EC3 #C339A3 #C39E39 #39C359
split-complementary
#395EC3 #C35939 #A3C339
monochromatic
#1D3064 #2B4794 #395EC3 #6784D2 #96AAE0

Accessibility & contrast

On white

5.89
#395EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#395EC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395EC3
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395EC3#FFFFFF#000000##FFFFFF
##395EC31.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #395ec3;
/* rgb */ color: rgb(57, 94, 195);
/* oklch */ color: oklch(51.2% 0.164 265.7);
Tailwind
colors: {
  custom: {
    50: '#808bd6',
    500: '#395ec3',
    950: '#000000',
  },
}
SCSS
$custom: #395ec3;
$custom-light: #808bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#395ec3",
  "rgb": {
    "r": 57,
    "g": 94,
    "b": 195
  },
  "hsl": {
    "h": 223.913,
    "s": 54.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5118,
    "c": 0.16365,
    "h": 265.7
  },
  "luminance": 0.12815
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #395EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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