#395BD4#395BD4

#395BD4 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.9% C 0.190 H 267.4°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#395BD4
RGBrgb(57, 91, 212)
HSLhsl(227, 64%, 53%)
HSVhsv(227, 73%, 83%)
CMYKcmyk(73.1%, 57.1%, 0%, 16.9%)
CIE-LABlab(42.92, 29.44, -65.86)
CIE-LCHlch(42.92, 72.14, 294.09°)
OKLaboklab(51.9% -0.0087 -0.19)
OKLCHoklch(51.9% 0.19 267.4)
XYZxyz(17.3080, 13.1036, 63.8917)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395BD4 #D4B239
analogous
#39A8D4 #395BD4 #6539D4
triadic
#395BD4 #D4395B #5BD439
tetradic
#395BD4 #D439A8 #D4B239 #39D465
square
#395BD4 #D439A8 #D4B239 #39D465
split-complementary
#395BD4 #D46539 #A8D439
monochromatic
#1A2F78 #2542AB #395BD4 #6B85DF #9EAEEA

Accessibility & contrast

On white

5.80
#395BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#395BD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395BD4
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395BD4#FFFFFF#000000##FFFFFF
##395BD41.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD8
Deuteranopia (green-blind)
#005ED2
Tritanopia (blue-blind)
#00798F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #395bd4;
/* rgb */ color: rgb(57, 91, 212);
/* oklch */ color: oklch(51.9% 0.190 267.4);
Tailwind
colors: {
  custom: {
    50: '#8489e2',
    500: '#395bd4',
    950: '#000000',
  },
}
SCSS
$custom: #395bd4;
$custom-light: #8489e2;
$custom-dark: #000000;
JSON
{
  "hex": "#395bd4",
  "rgb": {
    "r": 57,
    "g": 91,
    "b": 212
  },
  "hsl": {
    "h": 226.839,
    "s": 64.315,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51897,
    "c": 0.19016,
    "h": 267.4
  },
  "luminance": 0.13105
}

Semantic roles & 50–950 ramp

primary
#395BD4
secondary
#D6C793
accent
#C340E7
background
#F8F8FE
surface
#F0EFFC
border
#CBCAD5
text
#0C0B15
muted
#7D7C84

Preview Lab

Preview with #395BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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