#395CCC#395CCC

#395CCC is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.5% C 0.178 H 266.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#395CCC
RGBrgb(57, 92, 204)
HSLhsl(226, 59%, 51%)
HSVhsv(226, 72%, 80%)
CMYKcmyk(72.1%, 54.9%, 0%, 20%)
CIE-LABlab(42.59, 25.89, -61.80)
CIE-LCHlch(42.59, 67.01, 292.73°)
OKLaboklab(51.46% -0.0099 -0.178)
OKLCHoklch(51.46% 0.178 266.8)
XYZxyz(16.4098, 12.8821, 58.7367)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395CCC #CCA939
analogous
#39A5CC #395CCC #5F39CC
triadic
#395CCC #CC395C #5CCC39
tetradic
#395CCC #CC39A5 #CCA939 #39CC5F
square
#395CCC #CC39A5 #CCA939 #39CC5F
split-complementary
#395CCC #CC5F39 #A5CC39
monochromatic
#1C306E #29459F #395CCC #6A84D9 #9AACE5

Accessibility & contrast

On white

5.87
#395CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#395CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395CCC
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395CCC#FFFFFF#000000##FFFFFF
##395CCC1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #395ccc;
/* rgb */ color: rgb(57, 92, 204);
/* oklch */ color: oklch(51.5% 0.178 266.8);
Tailwind
colors: {
  custom: {
    50: '#8289dc',
    500: '#395ccc',
    950: '#000000',
  },
}
SCSS
$custom: #395ccc;
$custom-light: #8289dc;
$custom-dark: #000000;
JSON
{
  "hex": "#395ccc",
  "rgb": {
    "r": 57,
    "g": 92,
    "b": 204
  },
  "hsl": {
    "h": 225.714,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5146,
    "c": 0.1783,
    "h": 266.8
  },
  "luminance": 0.12884
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #395CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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