#395DC8#395DC8

#395DC8 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.4% C 0.172 H 266.3°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#395DC8
RGBrgb(57, 93, 200)
HSLhsl(225, 57%, 50%)
HSVhsv(225, 72%, 78%)
CMYKcmyk(71.5%, 53.5%, 0%, 21.6%)
CIE-LABlab(42.56, 23.79, -59.53)
CIE-LCHlch(42.56, 64.11, 291.78°)
OKLaboklab(51.35% -0.011 -0.1713)
OKLCHoklch(51.35% 0.172 266.3)
XYZxyz(16.0234, 12.8670, 56.2715)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395DC8 #C8A439
analogous
#39A5C8 #395DC8 #5C39C8
triadic
#395DC8 #C8395D #5DC839
tetradic
#395DC8 #C839A5 #C8A439 #39C85C
square
#395DC8 #C839A5 #C8A439 #39C85C
split-complementary
#395DC8 #C85C39 #A5C839
monochromatic
#1D3069 #2B4699 #395DC8 #6984D5 #99ABE3

Accessibility & contrast

On white

5.88
#395DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#395DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395DC8
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395DC8#FFFFFF#000000##FFFFFF
##395DC81.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A6BCC
Deuteranopia (green-blind)
#005EC6
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #395dc8;
/* rgb */ color: rgb(57, 93, 200);
/* oklch */ color: oklch(51.4% 0.172 266.3);
Tailwind
colors: {
  custom: {
    50: '#818ad9',
    500: '#395dc8',
    950: '#000000',
  },
}
SCSS
$custom: #395dc8;
$custom-light: #818ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#395dc8",
  "rgb": {
    "r": 57,
    "g": 93,
    "b": 200
  },
  "hsl": {
    "h": 224.895,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51352,
    "c": 0.17168,
    "h": 266.3
  },
  "luminance": 0.12869
}

Semantic roles & 50–950 ramp

primary
#395DC8
secondary
#CEBE8F
accent
#BA48E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #395DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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