#395AC5#395AC5

#395AC5 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.5% C 0.171 H 267.1°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#395AC5
RGBrgb(57, 90, 197)
HSLhsl(226, 55%, 50%)
HSVhsv(226, 71%, 77%)
CMYKcmyk(71.1%, 54.3%, 0%, 22.7%)
CIE-LABlab(41.55, 24.62, -59.43)
CIE-LCHlch(41.55, 64.33, 292.51°)
OKLaboklab(50.52% -0.0087 -0.1711)
OKLCHoklch(50.52% 0.171 267.1)
XYZxyz(15.4180, 12.2118, 54.3571)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395AC5 #C5A439
analogous
#39A0C5 #395AC5 #5E39C5
triadic
#395AC5 #C5395A #5AC539
tetradic
#395AC5 #C539A0 #C5A439 #39C55E
square
#395AC5 #C539A0 #C5A439 #39C55E
split-complementary
#395AC5 #C55E39 #A0C539
monochromatic
#1E2F66 #2B4496 #395AC5 #6881D3 #97A9E1

Accessibility & contrast

On white

6.10
#395AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#395AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395AC5
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395AC5#FFFFFF#000000##FFFFFF
##395AC51.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #395ac5;
/* rgb */ color: rgb(57, 90, 197);
/* oklch */ color: oklch(50.5% 0.171 267.1);
Tailwind
colors: {
  custom: {
    50: '#8188d7',
    500: '#395ac5',
    950: '#000000',
  },
}
SCSS
$custom: #395ac5;
$custom-light: #8188d7;
$custom-dark: #000000;
JSON
{
  "hex": "#395ac5",
  "rgb": {
    "r": 57,
    "g": 90,
    "b": 197
  },
  "hsl": {
    "h": 225.857,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5052,
    "c": 0.17131,
    "h": 267.1
  },
  "luminance": 0.12213
}

Semantic roles & 50–950 ramp

primary
#395AC5
secondary
#CDBE8D
accent
#BB49DE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #395AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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