#395AC6#395AC6

#395AC6 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.6% C 0.173 H 267.1°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#395AC6
RGBrgb(57, 90, 198)
HSLhsl(226, 55%, 50%)
HSVhsv(226, 71%, 78%)
CMYKcmyk(71.2%, 54.5%, 0%, 22.4%)
CIE-LABlab(41.62, 24.99, -59.90)
CIE-LCHlch(41.62, 64.90, 292.65°)
OKLaboklab(50.6% -0.0087 -0.1724)
OKLCHoklch(50.6% 0.173 267.1)
XYZxyz(15.5330, 12.2578, 54.9625)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395AC6 #C6A539
analogous
#39A1C6 #395AC6 #5E39C6
triadic
#395AC6 #C6395A #5AC639
tetradic
#395AC6 #C639A1 #C6A539 #39C65E
square
#395AC6 #C639A1 #C6A539 #39C65E
split-complementary
#395AC6 #C65E39 #A1C639
monochromatic
#1E2F67 #2B4496 #395AC6 #6982D4 #98A9E1

Accessibility & contrast

On white

6.08
#395AC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#395AC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395AC6
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395AC6#FFFFFF#000000##FFFFFF
##395AC61.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CA
Deuteranopia (green-blind)
#005CC4
Tritanopia (blue-blind)
#007487
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #395ac6;
/* rgb */ color: rgb(57, 90, 198);
/* oklch */ color: oklch(50.6% 0.173 267.1);
Tailwind
colors: {
  custom: {
    50: '#8188d8',
    500: '#395ac6',
    950: '#000000',
  },
}
SCSS
$custom: #395ac6;
$custom-light: #8188d8;
$custom-dark: #000000;
JSON
{
  "hex": "#395ac6",
  "rgb": {
    "r": 57,
    "g": 90,
    "b": 198
  },
  "hsl": {
    "h": 225.957,
    "s": 55.294,
    "l": 50
  },
  "oklch": {
    "l": 0.50598,
    "c": 0.17267,
    "h": 267.1
  },
  "luminance": 0.12259
}

Semantic roles & 50–950 ramp

primary
#395AC6
secondary
#CDBE8E
accent
#BC49DF
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #395AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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