#395BC4#395BC4

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

Color values

HEX#395BC4
RGBrgb(57, 91, 196)
HSLhsl(225, 55%, 50%)
HSVhsv(225, 71%, 77%)
CMYKcmyk(70.9%, 53.6%, 0%, 23.1%)
CIE-LABlab(41.75, 23.61, -58.54)
CIE-LCHlch(41.75, 63.12, 291.97°)
OKLaboklab(50.64% -0.0096 -0.1684)
OKLCHoklch(50.64% 0.169 266.7)
XYZxyz(15.3888, 12.3360, 53.7839)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395BC4 #C4A239
analogous
#39A1C4 #395BC4 #5D39C4
triadic
#395BC4 #C4395B #5BC439
tetradic
#395BC4 #C439A1 #C4A239 #39C45D
square
#395BC4 #C439A1 #C4A239 #39C45D
split-complementary
#395BC4 #C45D39 #A1C439
monochromatic
#1D2F65 #2B4595 #395BC4 #6782D3 #97A9E1

Accessibility & contrast

On white

6.06
#395BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#395BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395BC4
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395BC4#FFFFFF#000000##FFFFFF
##395BC41.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B69C8
Deuteranopia (green-blind)
#005CC2
Tritanopia (blue-blind)
#007486
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #395bc4;
/* rgb */ color: rgb(57, 91, 196);
/* oklch */ color: oklch(50.6% 0.169 266.7);
Tailwind
colors: {
  custom: {
    50: '#8188d7',
    500: '#395bc4',
    950: '#000000',
  },
}
SCSS
$custom: #395bc4;
$custom-light: #8188d7;
$custom-dark: #000000;
JSON
{
  "hex": "#395bc4",
  "rgb": {
    "r": 57,
    "g": 91,
    "b": 196
  },
  "hsl": {
    "h": 225.324,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50644,
    "c": 0.16872,
    "h": 266.7
  },
  "luminance": 0.12338
}

Semantic roles & 50–950 ramp

primary
#395BC4
secondary
#CCBD8D
accent
#BA4ADE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #395BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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