#395CC4#395CC4

#395CC4 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.8% C 0.167 H 266.4°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#395CC4
RGBrgb(57, 92, 196)
HSLhsl(225, 55%, 50%)
HSVhsv(225, 71%, 77%)
CMYKcmyk(70.9%, 53.1%, 0%, 23.1%)
CIE-LABlab(42.01, 22.97, -58.10)
CIE-LCHlch(42.01, 62.48, 291.57°)
OKLaboklab(50.85% -0.0105 -0.1672)
OKLCHoklch(50.85% 0.167 266.4)
XYZxyz(15.4748, 12.5081, 53.8126)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395CC4 #C4A139
analogous
#39A2C4 #395CC4 #5B39C4
triadic
#395CC4 #C4395C #5CC439
tetradic
#395CC4 #C439A2 #C4A139 #39C45B
square
#395CC4 #C439A2 #C4A139 #39C45B
split-complementary
#395CC4 #C45B39 #A2C439
monochromatic
#1D2F65 #2B4695 #395CC4 #6782D3 #97A9E1

Accessibility & contrast

On white

6.00
#395CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#395CC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395CC4
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395CC4#FFFFFF#000000##FFFFFF
##395CC41.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#116AC8
Deuteranopia (green-blind)
#005DC2
Tritanopia (blue-blind)
#007587
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #395cc4;
/* rgb */ color: rgb(57, 92, 196);
/* oklch */ color: oklch(50.8% 0.167 266.4);
Tailwind
colors: {
  custom: {
    50: '#8189d7',
    500: '#395cc4',
    950: '#000000',
  },
}
SCSS
$custom: #395cc4;
$custom-light: #8189d7;
$custom-dark: #000000;
JSON
{
  "hex": "#395cc4",
  "rgb": {
    "r": 57,
    "g": 92,
    "b": 196
  },
  "hsl": {
    "h": 224.892,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50846,
    "c": 0.16749,
    "h": 266.4
  },
  "luminance": 0.1251
}

Semantic roles & 50–950 ramp

primary
#395CC4
secondary
#CCBC8D
accent
#B94ADE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #395CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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