#395BCC#395BCC

#395BCC is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.3% C 0.180 H 267.1°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#395BCC
RGBrgb(57, 91, 204)
HSLhsl(226, 59%, 51%)
HSVhsv(226, 72%, 80%)
CMYKcmyk(72.1%, 55.4%, 0%, 20%)
CIE-LABlab(42.32, 26.53, -62.23)
CIE-LCHlch(42.32, 67.65, 293.09°)
OKLaboklab(51.26% -0.0091 -0.1793)
OKLCHoklch(51.26% 0.18 267.1)
XYZxyz(16.3237, 12.7100, 58.7080)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395BCC #CCAA39
analogous
#39A5CC #395BCC #6039CC
triadic
#395BCC #CC395B #5BCC39
tetradic
#395BCC #CC39A5 #CCAA39 #39CC60
square
#395BCC #CC39A5 #CCAA39 #39CC60
split-complementary
#395BCC #CC6039 #A5CC39
monochromatic
#1C2F6E #29449F #395BCC #6A83D9 #9AACE5

Accessibility & contrast

On white

5.93
#395BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#395BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395BCC
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395BCC#FFFFFF#000000##FFFFFF
##395BCC1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#005DCA
Tritanopia (blue-blind)
#00778A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #395bcc;
/* rgb */ color: rgb(57, 91, 204);
/* oklch */ color: oklch(51.3% 0.180 267.1);
Tailwind
colors: {
  custom: {
    50: '#8288dc',
    500: '#395bcc',
    950: '#000000',
  },
}
SCSS
$custom: #395bcc;
$custom-light: #8288dc;
$custom-dark: #000000;
JSON
{
  "hex": "#395bcc",
  "rgb": {
    "r": 57,
    "g": 91,
    "b": 204
  },
  "hsl": {
    "h": 226.122,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51263,
    "c": 0.17952,
    "h": 267.1
  },
  "luminance": 0.12712
}

Semantic roles & 50–950 ramp

primary
#395BCC
secondary
#D1C290
accent
#BE46E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #395BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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