#395ACC#395ACC

#395ACC is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.1% C 0.181 H 267.4°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#395ACC
RGBrgb(57, 90, 204)
HSLhsl(227, 59%, 51%)
HSVhsv(227, 72%, 80%)
CMYKcmyk(72.1%, 55.9%, 0%, 20%)
CIE-LABlab(42.06, 27.18, -62.65)
CIE-LCHlch(42.06, 68.29, 293.45°)
OKLaboklab(51.07% -0.0083 -0.1805)
OKLCHoklch(51.07% 0.181 267.4)
XYZxyz(16.2388, 12.5401, 58.6797)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395ACC #CCAB39
analogous
#39A3CC #395ACC #6139CC
triadic
#395ACC #CC395A #5ACC39
tetradic
#395ACC #CC39A3 #CCAB39 #39CC61
square
#395ACC #CC39A3 #CCAB39 #39CC61
split-complementary
#395ACC #CC6139 #A3CC39
monochromatic
#1C2F6E #29439F #395ACC #6A83D9 #9AABE5

Accessibility & contrast

On white

5.99
#395ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#395ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395ACC
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395ACC#FFFFFF#000000##FFFFFF
##395ACC1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#005DCA
Tritanopia (blue-blind)
#00768A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #395acc;
/* rgb */ color: rgb(57, 90, 204);
/* oklch */ color: oklch(51.1% 0.181 267.4);
Tailwind
colors: {
  custom: {
    50: '#8288dc',
    500: '#395acc',
    950: '#000000',
  },
}
SCSS
$custom: #395acc;
$custom-light: #8288dc;
$custom-dark: #000000;
JSON
{
  "hex": "#395acc",
  "rgb": {
    "r": 57,
    "g": 90,
    "b": 204
  },
  "hsl": {
    "h": 226.531,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51066,
    "c": 0.18074,
    "h": 267.4
  },
  "luminance": 0.12542
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #395ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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