#395FD5#395FD5

#395FD5 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.8% C 0.187 H 266.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#395FD5
RGBrgb(57, 95, 213)
HSLhsl(225, 65%, 53%)
HSVhsv(225, 73%, 84%)
CMYKcmyk(73.2%, 55.4%, 0%, 16.5%)
CIE-LABlab(44.03, 27.25, -64.63)
CIE-LCHlch(44.03, 70.14, 292.86°)
OKLaboklab(52.75% -0.0116 -0.1863)
OKLCHoklch(52.75% 0.187 266.4)
XYZxyz(17.7856, 13.8565, 64.6751)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395FD5 #D5AF39
analogous
#39ADD5 #395FD5 #6139D5
triadic
#395FD5 #D5395F #5FD539
tetradic
#395FD5 #D539AD #D5AF39 #39D561
square
#395FD5 #D539AD #D5AF39 #39D561
split-complementary
#395FD5 #D56139 #ADD539
monochromatic
#1A317A #2546AC #395FD5 #6B88E0 #9EB1EA

Accessibility & contrast

On white

5.57
#395FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#395FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395FD5
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395FD5#FFFFFF#000000##FFFFFF
##395FD51.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D9
Deuteranopia (green-blind)
#0061D3
Tritanopia (blue-blind)
#007C91
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #395fd5;
/* rgb */ color: rgb(57, 95, 213);
/* oklch */ color: oklch(52.8% 0.187 266.4);
Tailwind
colors: {
  custom: {
    50: '#848be3',
    500: '#395fd5',
    950: '#000000',
  },
}
SCSS
$custom: #395fd5;
$custom-light: #848be3;
$custom-dark: #000000;
JSON
{
  "hex": "#395fd5",
  "rgb": {
    "r": 57,
    "g": 95,
    "b": 213
  },
  "hsl": {
    "h": 225.385,
    "s": 65,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52752,
    "c": 0.18665,
    "h": 266.4
  },
  "luminance": 0.13858
}

Semantic roles & 50–950 ramp

primary
#395FD5
secondary
#D7C693
accent
#BF40E8
background
#F8F8FE
surface
#F0F0FC
border
#CBCBD5
text
#0C0C15
muted
#7D7D84

Preview Lab

Preview with #395FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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