#395EC7#395EC7

#395EC7 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.5% C 0.169 H 266.0°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#395EC7
RGBrgb(57, 94, 199)
HSLhsl(224, 56%, 50%)
HSVhsv(224, 71%, 78%)
CMYKcmyk(71.4%, 52.8%, 0%, 22%)
CIE-LABlab(42.76, 22.78, -58.63)
CIE-LCHlch(42.76, 62.90, 291.23°)
OKLaboklab(51.48% -0.0119 -0.1687)
OKLCHoklch(51.48% 0.169 266)
XYZxyz(15.9952, 12.9971, 55.6875)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395EC7 #C7A239
analogous
#39A5C7 #395EC7 #5B39C7
triadic
#395EC7 #C7395E #5EC739
tetradic
#395EC7 #C739A5 #C7A239 #39C75B
square
#395EC7 #C739A5 #C7A239 #39C75B
split-complementary
#395EC7 #C75B39 #A5C739
monochromatic
#1D3168 #2B4798 #395EC7 #6985D4 #98ACE2

Accessibility & contrast

On white

5.83
#395EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#395EC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395EC7
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395EC7#FFFFFF#000000##FFFFFF
##395EC71.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#146CCB
Deuteranopia (green-blind)
#005FC5
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #395ec7;
/* rgb */ color: rgb(57, 94, 199);
/* oklch */ color: oklch(51.5% 0.169 266.0);
Tailwind
colors: {
  custom: {
    50: '#818bd9',
    500: '#395ec7',
    950: '#000000',
  },
}
SCSS
$custom: #395ec7;
$custom-light: #818bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#395ec7",
  "rgb": {
    "r": 57,
    "g": 94,
    "b": 199
  },
  "hsl": {
    "h": 224.366,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51478,
    "c": 0.1691,
    "h": 266
  },
  "luminance": 0.12999
}

Semantic roles & 50–950 ramp

primary
#395EC7
secondary
#CEBD8E
accent
#B849DF
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #395EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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