#395FC2#395FC2

#395FC2 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.3% C 0.161 H 265.3°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#395FC2
RGBrgb(57, 95, 194)
HSLhsl(223, 55%, 49%)
HSVhsv(223, 71%, 76%)
CMYKcmyk(70.6%, 51%, 0%, 23.9%)
CIE-LABlab(42.68, 20.30, -55.86)
CIE-LCHlch(42.68, 59.43, 289.97°)
OKLaboklab(51.31% -0.0132 -0.1605)
OKLCHoklch(51.31% 0.161 265.3)
XYZxyz(15.5137, 12.9477, 52.7100)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395FC2 #C29C39
analogous
#39A4C2 #395FC2 #5839C2
triadic
#395FC2 #C2395F #5FC239
tetradic
#395FC2 #C239A4 #C29C39 #39C258
square
#395FC2 #C239A4 #C29C39 #39C258
split-complementary
#395FC2 #C25839 #A4C239
monochromatic
#1D3163 #2B4893 #395FC2 #6684D2 #95AAE0

Accessibility & contrast

On white

5.85
#395FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#395FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395FC2
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395FC2#FFFFFF#000000##FFFFFF
##395FC21.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226BC6
Deuteranopia (green-blind)
#005FC0
Tritanopia (blue-blind)
#007787
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #395fc2;
/* rgb */ color: rgb(57, 95, 194);
/* oklch */ color: oklch(51.3% 0.161 265.3);
Tailwind
colors: {
  custom: {
    50: '#808bd5',
    500: '#395fc2',
    950: '#000000',
  },
}
SCSS
$custom: #395fc2;
$custom-light: #808bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#395fc2",
  "rgb": {
    "r": 57,
    "g": 95,
    "b": 194
  },
  "hsl": {
    "h": 223.358,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51312,
    "c": 0.16104,
    "h": 265.3
  },
  "luminance": 0.12949
}

Semantic roles & 50–950 ramp

primary
#395FC2
secondary
#CBBA8B
accent
#B54ADE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #395FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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