#395FC5#395FC5

#395FC5 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.5% C 0.165 H 265.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#395FC5
RGBrgb(57, 95, 197)
HSLhsl(224, 55%, 50%)
HSVhsv(224, 71%, 77%)
CMYKcmyk(71.1%, 51.8%, 0%, 22.7%)
CIE-LABlab(42.89, 21.40, -57.27)
CIE-LCHlch(42.89, 61.13, 290.49°)
OKLaboklab(51.53% -0.0129 -0.1646)
OKLCHoklch(51.53% 0.165 265.5)
XYZxyz(15.8541, 13.0838, 54.5024)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395FC5 #C59F39
analogous
#39A5C5 #395FC5 #5939C5
triadic
#395FC5 #C5395F #5FC539
tetradic
#395FC5 #C539A5 #C59F39 #39C559
square
#395FC5 #C539A5 #C59F39 #39C559
split-complementary
#395FC5 #C55939 #A5C539
monochromatic
#1E3166 #2B4896 #395FC5 #6885D3 #97ABE1

Accessibility & contrast

On white

5.81
#395FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#395FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395FC5
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395FC5#FFFFFF#000000##FFFFFF
##395FC51.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D6CC9
Deuteranopia (green-blind)
#005FC3
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #395fc5;
/* rgb */ color: rgb(57, 95, 197);
/* oklch */ color: oklch(51.5% 0.165 265.5);
Tailwind
colors: {
  custom: {
    50: '#818bd7',
    500: '#395fc5',
    950: '#000000',
  },
}
SCSS
$custom: #395fc5;
$custom-light: #818bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#395fc5",
  "rgb": {
    "r": 57,
    "g": 95,
    "b": 197
  },
  "hsl": {
    "h": 223.714,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51533,
    "c": 0.16514,
    "h": 265.5
  },
  "luminance": 0.13085
}

Semantic roles & 50–950 ramp

primary
#395FC5
secondary
#CDBB8D
accent
#B649DE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #395FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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