#395DCC#395DCC

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

Color values

HEX#395DCC
RGBrgb(57, 93, 204)
HSLhsl(225, 59%, 51%)
HSVhsv(225, 72%, 80%)
CMYKcmyk(72.1%, 54.4%, 0%, 20%)
CIE-LABlab(42.85, 25.25, -61.37)
CIE-LCHlch(42.85, 66.37, 292.36°)
OKLaboklab(51.66% -0.0107 -0.1768)
OKLCHoklch(51.66% 0.177 266.5)
XYZxyz(16.4970, 13.0565, 58.7658)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395DCC #CCA839
analogous
#39A6CC #395DCC #5E39CC
triadic
#395DCC #CC395D #5DCC39
tetradic
#395DCC #CC39A6 #CCA839 #39CC5E
square
#395DCC #CC39A6 #CCA839 #39CC5E
split-complementary
#395DCC #CC5E39 #A6CC39
monochromatic
#1C306E #29469F #395DCC #6A85D9 #9AADE5

Accessibility & contrast

On white

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

On black

3.61
#395DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##395DCC#FFFFFF#000000##FFFFFF
##395DCC1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#005FCA
Tritanopia (blue-blind)
#00788B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #395dcc;
/* rgb */ color: rgb(57, 93, 204);
/* oklch */ color: oklch(51.7% 0.177 266.5);
Tailwind
colors: {
  custom: {
    50: '#828adc',
    500: '#395dcc',
    950: '#000000',
  },
}
SCSS
$custom: #395dcc;
$custom-light: #828adc;
$custom-dark: #000000;
JSON
{
  "hex": "#395dcc",
  "rgb": {
    "r": 57,
    "g": 93,
    "b": 204
  },
  "hsl": {
    "h": 225.306,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51658,
    "c": 0.17708,
    "h": 266.5
  },
  "luminance": 0.13058
}

Semantic roles & 50–950 ramp

primary
#395DCC
secondary
#D1C190
accent
#BC46E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #395DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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