#395DC5#395DC5

#395DC5 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.1% C 0.168 H 266.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#395DC5
RGBrgb(57, 93, 197)
HSLhsl(225, 55%, 50%)
HSVhsv(225, 71%, 77%)
CMYKcmyk(71.1%, 52.8%, 0%, 22.7%)
CIE-LABlab(42.35, 22.69, -58.14)
CIE-LCHlch(42.35, 62.41, 291.32°)
OKLaboklab(51.13% -0.0112 -0.1672)
OKLCHoklch(51.13% 0.168 266.2)
XYZxyz(15.6762, 12.7282, 54.4431)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395DC5 #C5A139
analogous
#39A3C5 #395DC5 #5B39C5
triadic
#395DC5 #C5395D #5DC539
tetradic
#395DC5 #C539A3 #C5A139 #39C55B
square
#395DC5 #C539A3 #C5A139 #39C55B
split-complementary
#395DC5 #C55B39 #A3C539
monochromatic
#1E3066 #2B4796 #395DC5 #6884D3 #97AAE1

Accessibility & contrast

On white

5.92
#395DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#395DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395DC5
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395DC5#FFFFFF#000000##FFFFFF
##395DC51.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#146BC9
Deuteranopia (green-blind)
#005EC3
Tritanopia (blue-blind)
#007688
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #395dc5;
/* rgb */ color: rgb(57, 93, 197);
/* oklch */ color: oklch(51.1% 0.168 266.2);
Tailwind
colors: {
  custom: {
    50: '#818ad7',
    500: '#395dc5',
    950: '#000000',
  },
}
SCSS
$custom: #395dc5;
$custom-light: #818ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#395dc5",
  "rgb": {
    "r": 57,
    "g": 93,
    "b": 197
  },
  "hsl": {
    "h": 224.571,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51125,
    "c": 0.16761,
    "h": 266.2
  },
  "luminance": 0.1273
}

Semantic roles & 50–950 ramp

primary
#395DC5
secondary
#CDBC8D
accent
#B849DE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #395DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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