#395BC5#395BC5

#395BC5 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.7% C 0.170 H 266.8°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#395BC5
RGBrgb(57, 91, 197)
HSLhsl(225, 55%, 50%)
HSVhsv(225, 71%, 77%)
CMYKcmyk(71.1%, 53.8%, 0%, 22.7%)
CIE-LABlab(41.82, 23.98, -59.00)
CIE-LCHlch(41.82, 63.69, 292.12°)
OKLaboklab(50.72% -0.0096 -0.1698)
OKLCHoklch(50.72% 0.17 266.8)
XYZxyz(15.5030, 12.3816, 54.3854)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395BC5 #C5A339
analogous
#39A1C5 #395BC5 #5D39C5
triadic
#395BC5 #C5395B #5BC539
tetradic
#395BC5 #C539A1 #C5A339 #39C55D
square
#395BC5 #C539A1 #C5A339 #39C55D
split-complementary
#395BC5 #C55D39 #A1C539
monochromatic
#1E2F66 #2B4596 #395BC5 #6882D3 #97A9E1

Accessibility & contrast

On white

6.04
#395BC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#395BC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395BC5
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395BC5#FFFFFF#000000##FFFFFF
##395BC51.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0669C9
Deuteranopia (green-blind)
#005DC3
Tritanopia (blue-blind)
#007587
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #395bc5;
/* rgb */ color: rgb(57, 91, 197);
/* oklch */ color: oklch(50.7% 0.170 266.8);
Tailwind
colors: {
  custom: {
    50: '#8188d7',
    500: '#395bc5',
    950: '#000000',
  },
}
SCSS
$custom: #395bc5;
$custom-light: #8188d7;
$custom-dark: #000000;
JSON
{
  "hex": "#395bc5",
  "rgb": {
    "r": 57,
    "g": 91,
    "b": 197
  },
  "hsl": {
    "h": 225.429,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50721,
    "c": 0.17008,
    "h": 266.8
  },
  "luminance": 0.12383
}

Semantic roles & 50–950 ramp

primary
#395BC5
secondary
#CDBD8D
accent
#BA49DE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #395BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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