#395CC5#395CC5

#395CC5 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.9% C 0.169 H 266.5°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#395CC5
RGBrgb(57, 92, 197)
HSLhsl(225, 55%, 50%)
HSVhsv(225, 71%, 77%)
CMYKcmyk(71.1%, 53.3%, 0%, 22.7%)
CIE-LABlab(42.08, 23.33, -58.57)
CIE-LCHlch(42.08, 63.05, 291.72°)
OKLaboklab(50.92% -0.0104 -0.1685)
OKLCHoklch(50.92% 0.169 266.5)
XYZxyz(15.5890, 12.5538, 54.4141)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395CC5 #C5A239
analogous
#39A2C5 #395CC5 #5C39C5
triadic
#395CC5 #C5395C #5CC539
tetradic
#395CC5 #C539A2 #C5A239 #39C55C
square
#395CC5 #C539A2 #C5A239 #39C55C
split-complementary
#395CC5 #C55C39 #A2C539
monochromatic
#1E3066 #2B4696 #395CC5 #6883D3 #97AAE1

Accessibility & contrast

On white

5.98
#395CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#395CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395CC5
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395CC5#FFFFFF#000000##FFFFFF
##395CC51.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #395cc5;
/* rgb */ color: rgb(57, 92, 197);
/* oklch */ color: oklch(50.9% 0.169 266.5);
Tailwind
colors: {
  custom: {
    50: '#8189d7',
    500: '#395cc5',
    950: '#000000',
  },
}
SCSS
$custom: #395cc5;
$custom-light: #8189d7;
$custom-dark: #000000;
JSON
{
  "hex": "#395cc5",
  "rgb": {
    "r": 57,
    "g": 92,
    "b": 197
  },
  "hsl": {
    "h": 225,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50922,
    "c": 0.16884,
    "h": 266.5
  },
  "luminance": 0.12555
}

Semantic roles & 50–950 ramp

primary
#395CC5
secondary
#CDBD8D
accent
#B949DE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #395CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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