#395ECC#395ECC

#395ECC is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.9% C 0.176 H 266.3°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#395ECC
RGBrgb(57, 94, 204)
HSLhsl(225, 59%, 51%)
HSVhsv(225, 72%, 80%)
CMYKcmyk(72.1%, 53.9%, 0%, 20%)
CIE-LABlab(43.11, 24.61, -60.95)
CIE-LCHlch(43.11, 65.73, 291.99°)
OKLaboklab(51.86% -0.0114 -0.1755)
OKLCHoklch(51.86% 0.176 266.3)
XYZxyz(16.5853, 13.2332, 58.7952)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395ECC #CCA739
analogous
#39A7CC #395ECC #5D39CC
triadic
#395ECC #CC395E #5ECC39
tetradic
#395ECC #CC39A7 #CCA739 #39CC5D
square
#395ECC #CC39A7 #CCA739 #39CC5D
split-complementary
#395ECC #CC5D39 #A7CC39
monochromatic
#1C316E #29479F #395ECC #6A86D9 #9AADE5

Accessibility & contrast

On white

5.76
#395ECC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#395ECC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395ECC
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395ECC#FFFFFF#000000##FFFFFF
##395ECC1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#016DD0
Deuteranopia (green-blind)
#005FCA
Tritanopia (blue-blind)
#00798C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #395ecc;
/* rgb */ color: rgb(57, 94, 204);
/* oklch */ color: oklch(51.9% 0.176 266.3);
Tailwind
colors: {
  custom: {
    50: '#828bdc',
    500: '#395ecc',
    950: '#000000',
  },
}
SCSS
$custom: #395ecc;
$custom-light: #828bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#395ecc",
  "rgb": {
    "r": 57,
    "g": 94,
    "b": 204
  },
  "hsl": {
    "h": 224.898,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51857,
    "c": 0.17585,
    "h": 266.3
  },
  "luminance": 0.13235
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #395ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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