#395DB7#395DB7

#395DB7 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.1% C 0.148 H 265.1°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#395DB7
RGBrgb(57, 93, 183)
HSLhsl(223, 53%, 47%)
HSVhsv(223, 69%, 72%)
CMYKcmyk(68.9%, 49.2%, 0%, 28.2%)
CIE-LABlab(41.40, 17.56, -51.52)
CIE-LCHlch(41.40, 54.43, 288.82°)
OKLaboklab(50.1% -0.0127 -0.1478)
OKLCHoklch(50.1% 0.148 265.1)
XYZxyz(14.1459, 12.1160, 46.3837)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395DB7 #B79339
analogous
#399CB7 #395DB7 #5439B7
triadic
#395DB7 #B7395D #5DB739
tetradic
#395DB7 #B7399C #B79339 #39B754
square
#395DB7 #B7399C #B79339 #39B754
split-complementary
#395DB7 #B75439 #9CB739
monochromatic
#1C2E5A #2A4588 #395DB7 #607FCD #8EA5DC

Accessibility & contrast

On white

6.13
#395DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#395DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395DB7
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395DB7#FFFFFF#000000##FFFFFF
##395DB71.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B68BA
Deuteranopia (green-blind)
#045CB5
Tritanopia (blue-blind)
#007281
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #395db7;
/* rgb */ color: rgb(57, 93, 183);
/* oklch */ color: oklch(50.1% 0.148 265.1);
Tailwind
colors: {
  custom: {
    50: '#7e8acd',
    500: '#395db7',
    950: '#000000',
  },
}
SCSS
$custom: #395db7;
$custom-light: #7e8acd;
$custom-dark: #000000;
JSON
{
  "hex": "#395db7",
  "rgb": {
    "r": 57,
    "g": 93,
    "b": 183
  },
  "hsl": {
    "h": 222.857,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50099,
    "c": 0.14832,
    "h": 265.1
  },
  "luminance": 0.12117
}

Semantic roles & 50–950 ramp

primary
#395DB7
secondary
#C7B485
accent
#B34CDC
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #395DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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