#395071#395071

#395071 is a dark, moderate blue. Relative luminance 0.078; OKLCH L 42.7% C 0.062 H 257.4°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#395071
RGBrgb(57, 80, 113)
HSLhsl(215, 33%, 33%)
HSVhsv(215, 50%, 44%)
CMYKcmyk(49.6%, 29.2%, 0%, 55.7%)
CIE-LABlab(33.56, 1.17, -21.67)
CIE-LCHlch(33.56, 21.70, 273.10°)
OKLaboklab(42.74% -0.0136 -0.0606)
OKLCHoklch(42.74% 0.062 257.4)
XYZxyz(7.5356, 7.7989, 16.7278)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395071 #715A39
analogous
#396C71 #395071 #3E3971
triadic
#395071 #713950 #507139
tetradic
#395071 #71396C #715A39 #39713E
square
#395071 #71396C #715A39 #39713E
split-complementary
#395071 #713E39 #6C7139
monochromatic
#101620 #243348 #395071 #4E6D9A #6E8CB6

Accessibility & contrast

On white

8.20
#395071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#395071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #395071
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395071#FFFFFF#000000##FFFFFF
##3950711.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435272
Deuteranopia (green-blind)
#3D4C70
Tritanopia (blue-blind)
#22575C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #395071;
/* rgb */ color: rgb(57, 80, 113);
/* oklch */ color: oklch(42.7% 0.062 257.4);
Tailwind
colors: {
  custom: {
    50: '#73809a',
    500: '#395071',
    950: '#000000',
  },
}
SCSS
$custom: #395071;
$custom-light: #73809a;
$custom-dark: #000000;
JSON
{
  "hex": "#395071",
  "rgb": {
    "r": 57,
    "g": 80,
    "b": 113
  },
  "hsl": {
    "h": 215.357,
    "s": 32.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42739,
    "c": 0.06212,
    "h": 257.4
  },
  "luminance": 0.07799
}

Semantic roles & 50–950 ramp

primary
#395071
secondary
#A08866
accent
#9D5FC9
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#080A0E
muted
#7B7C7E

Preview Lab

Preview with #395071

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

Preview Lab → · Contrast checker → · Palette generator →

#395071 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva