#395FCC#395FCC

#395FCC is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.1% C 0.175 H 266.0°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#395FCC
RGBrgb(57, 95, 204)
HSLhsl(224, 59%, 51%)
HSVhsv(224, 72%, 80%)
CMYKcmyk(72.1%, 53.4%, 0%, 20%)
CIE-LABlab(43.38, 23.97, -60.52)
CIE-LCHlch(43.38, 65.09, 291.61°)
OKLaboklab(52.06% -0.0122 -0.1742)
OKLCHoklch(52.06% 0.175 266)
XYZxyz(16.6748, 13.4122, 58.8250)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395FCC #CCA639
analogous
#39A8CC #395FCC #5C39CC
triadic
#395FCC #CC395F #5FCC39
tetradic
#395FCC #CC39A8 #CCA639 #39CC5C
square
#395FCC #CC39A8 #CCA639 #39CC5C
split-complementary
#395FCC #CC5C39 #A8CC39
monochromatic
#1C326E #29479F #395FCC #6A86D9 #9AAEE5

Accessibility & contrast

On white

5.70
#395FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#395FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395FCC
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395FCC#FFFFFF#000000##FFFFFF
##395FCC1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A6ED0
Deuteranopia (green-blind)
#0060CA
Tritanopia (blue-blind)
#00798C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #395fcc;
/* rgb */ color: rgb(57, 95, 204);
/* oklch */ color: oklch(52.1% 0.175 266.0);
Tailwind
colors: {
  custom: {
    50: '#828bdc',
    500: '#395fcc',
    950: '#000000',
  },
}
SCSS
$custom: #395fcc;
$custom-light: #828bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#395fcc",
  "rgb": {
    "r": 57,
    "g": 95,
    "b": 204
  },
  "hsl": {
    "h": 224.49,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52058,
    "c": 0.17463,
    "h": 266
  },
  "luminance": 0.13414
}

Semantic roles & 50–950 ramp

primary
#395FCC
secondary
#D1C090
accent
#BA46E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #395FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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