#395DCD#395DCD

#395DCD is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.7% C 0.178 H 266.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#395DCD
RGBrgb(57, 93, 205)
HSLhsl(225, 60%, 51%)
HSVhsv(225, 72%, 80%)
CMYKcmyk(72.2%, 54.6%, 0%, 19.6%)
CIE-LABlab(42.92, 25.62, -61.83)
CIE-LCHlch(42.92, 66.93, 292.50°)
OKLaboklab(51.74% -0.0106 -0.1781)
OKLCHoklch(51.74% 0.178 266.6)
XYZxyz(16.6173, 13.1046, 59.3994)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395DCD #CDA939
analogous
#39A7CD #395DCD #5F39CD
triadic
#395DCD #CD395D #5DCD39
tetradic
#395DCD #CD39A7 #CDA939 #39CD5F
square
#395DCD #CD39A7 #CDA939 #39CD5F
split-complementary
#395DCD #CD5F39 #A7CD39
monochromatic
#1C306F #2846A0 #395DCD #6A85D9 #9BADE6

Accessibility & contrast

On white

5.80
#395DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #395DCD
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395DCD#FFFFFF#000000##FFFFFF
##395DCD1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #395dcd;
/* rgb */ color: rgb(57, 93, 205);
/* oklch */ color: oklch(51.7% 0.178 266.6);
Tailwind
colors: {
  custom: {
    50: '#838add',
    500: '#395dcd',
    950: '#000000',
  },
}
SCSS
$custom: #395dcd;
$custom-light: #838add;
$custom-dark: #000000;
JSON
{
  "hex": "#395dcd",
  "rgb": {
    "r": 57,
    "g": 93,
    "b": 205
  },
  "hsl": {
    "h": 225.405,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51735,
    "c": 0.17842,
    "h": 266.6
  },
  "luminance": 0.13106
}

Semantic roles & 50–950 ramp

primary
#395DCD
secondary
#D2C290
accent
#BC45E3
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #395DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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