#395FD4#395FD4

#395FD4 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.7% C 0.185 H 266.4°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#395FD4
RGBrgb(57, 95, 212)
HSLhsl(225, 64%, 53%)
HSVhsv(225, 73%, 83%)
CMYKcmyk(73.1%, 55.2%, 0%, 16.9%)
CIE-LABlab(43.95, 26.89, -64.17)
CIE-LCHlch(43.95, 69.58, 292.73°)
OKLaboklab(52.67% -0.0117 -0.185)
OKLCHoklch(52.67% 0.185 266.4)
XYZxyz(17.6591, 13.8058, 64.0087)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395FD4 #D4AE39
analogous
#39ADD4 #395FD4 #6039D4
triadic
#395FD4 #D4395F #5FD439
tetradic
#395FD4 #D439AD #D4AE39 #39D460
square
#395FD4 #D439AD #D4AE39 #39D460
split-complementary
#395FD4 #D46039 #ADD439
monochromatic
#1A3178 #2546AB #395FD4 #6B88DF #9EB0EA

Accessibility & contrast

On white

5.58
#395FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#395FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395FD4
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395FD4#FFFFFF#000000##FFFFFF
##395FD41.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD8
Deuteranopia (green-blind)
#0061D2
Tritanopia (blue-blind)
#007C90
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #395fd4;
/* rgb */ color: rgb(57, 95, 212);
/* oklch */ color: oklch(52.7% 0.185 266.4);
Tailwind
colors: {
  custom: {
    50: '#848be2',
    500: '#395fd4',
    950: '#000000',
  },
}
SCSS
$custom: #395fd4;
$custom-light: #848be2;
$custom-dark: #000000;
JSON
{
  "hex": "#395fd4",
  "rgb": {
    "r": 57,
    "g": 95,
    "b": 212
  },
  "hsl": {
    "h": 225.29,
    "s": 64.315,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52674,
    "c": 0.18533,
    "h": 266.4
  },
  "luminance": 0.13808
}

Semantic roles & 50–950 ramp

primary
#395FD4
secondary
#D6C693
accent
#BE40E7
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #395FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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