#395ECD#395ECD

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

Color values

HEX#395ECD
RGBrgb(57, 94, 205)
HSLhsl(225, 60%, 51%)
HSVhsv(225, 72%, 80%)
CMYKcmyk(72.2%, 54.1%, 0%, 19.6%)
CIE-LABlab(43.18, 24.97, -61.41)
CIE-LCHlch(43.18, 66.29, 292.13°)
OKLaboklab(51.93% -0.0114 -0.1768)
OKLCHoklch(51.93% 0.177 266.3)
XYZxyz(16.7056, 13.2813, 59.4289)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395ECD #CDA839
analogous
#39A8CD #395ECD #5E39CD
triadic
#395ECD #CD395E #5ECD39
tetradic
#395ECD #CD39A8 #CDA839 #39CD5E
square
#395ECD #CD39A8 #CDA839 #39CD5E
split-complementary
#395ECD #CD5E39 #A8CD39
monochromatic
#1C316F #2846A0 #395ECD #6A86D9 #9BADE6

Accessibility & contrast

On white

5.74
#395ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#395ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395ECD
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395ECD#FFFFFF#000000##FFFFFF
##395ECD1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#00798C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #395ecd;
/* rgb */ color: rgb(57, 94, 205);
/* oklch */ color: oklch(51.9% 0.177 266.3);
Tailwind
colors: {
  custom: {
    50: '#828bdd',
    500: '#395ecd',
    950: '#000000',
  },
}
SCSS
$custom: #395ecd;
$custom-light: #828bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#395ecd",
  "rgb": {
    "r": 57,
    "g": 94,
    "b": 205
  },
  "hsl": {
    "h": 225,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51934,
    "c": 0.1772,
    "h": 266.3
  },
  "luminance": 0.13283
}

Semantic roles & 50–950 ramp

primary
#395ECD
secondary
#D2C190
accent
#BB45E3
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #395ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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