#395ED5#395ED5

#395ED5 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.6% C 0.188 H 266.7°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#395ED5
RGBrgb(57, 94, 213)
HSLhsl(226, 65%, 53%)
HSVhsv(226, 73%, 84%)
CMYKcmyk(73.2%, 55.9%, 0%, 16.5%)
CIE-LABlab(43.77, 27.89, -65.05)
CIE-LCHlch(43.77, 70.78, 293.21°)
OKLaboklab(52.56% -0.0109 -0.1875)
OKLCHoklch(52.56% 0.188 266.7)
XYZxyz(17.6961, 13.6775, 64.6453)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395ED5 #D5B039
analogous
#39ACD5 #395ED5 #6239D5
triadic
#395ED5 #D5395E #5ED539
tetradic
#395ED5 #D539AC #D5B039 #39D562
square
#395ED5 #D539AC #D5B039 #39D562
split-complementary
#395ED5 #D56239 #ACD539
monochromatic
#1A317A #2545AC #395ED5 #6B87E0 #9EB0EA

Accessibility & contrast

On white

5.62
#395ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#395ED5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395ED5
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395ED5#FFFFFF#000000##FFFFFF
##395ED51.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD9
Deuteranopia (green-blind)
#0061D3
Tritanopia (blue-blind)
#007B90
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #395ed5;
/* rgb */ color: rgb(57, 94, 213);
/* oklch */ color: oklch(52.6% 0.188 266.7);
Tailwind
colors: {
  custom: {
    50: '#848be3',
    500: '#395ed5',
    950: '#000000',
  },
}
SCSS
$custom: #395ed5;
$custom-light: #848be3;
$custom-dark: #000000;
JSON
{
  "hex": "#395ed5",
  "rgb": {
    "r": 57,
    "g": 94,
    "b": 213
  },
  "hsl": {
    "h": 225.769,
    "s": 65,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52557,
    "c": 0.18787,
    "h": 266.7
  },
  "luminance": 0.13679
}

Semantic roles & 50–950 ramp

primary
#395ED5
secondary
#D7C793
accent
#C040E8
background
#F8F8FE
surface
#F0F0FC
border
#CBCBD5
text
#0C0B15
muted
#7D7C84

Preview Lab

Preview with #395ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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