#20395B#20395B

#20395B is a dark, moderate cyan. Relative luminance 0.040; OKLCH L 34.2% C 0.068 H 256.5°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#20395B
RGBrgb(32, 57, 91)
HSLhsl(215, 48%, 24%)
HSVhsv(215, 65%, 36%)
CMYKcmyk(64.8%, 37.4%, 0%, 64.3%)
CIE-LABlab(23.63, 2.31, -23.26)
CIE-LCHlch(23.63, 23.37, 275.66°)
OKLaboklab(34.21% -0.0158 -0.0658)
OKLCHoklch(34.21% 0.068 256.5)
XYZxyz(3.9464, 3.9883, 10.4573)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20395B #5B4220
analogous
#20575B #20395B #25205B
triadic
#20395B #5B2039 #395B20
tetradic
#20395B #5B2057 #5B4220 #205B25
square
#20395B #5B2057 #5B4220 #205B25
split-complementary
#20395B #5B2520 #575B20
monochromatic
#080E17 #101D2E #20395B #305588 #4072B6

Accessibility & contrast

On white

11.68
#20395B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#20395B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20395B
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20395B#FFFFFF#000000##FFFFFF
##20395B1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3B5C
Deuteranopia (green-blind)
#23365A
Tritanopia (blue-blind)
#004145
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #20395b;
/* rgb */ color: rgb(32, 57, 91);
/* oklch */ color: oklch(34.2% 0.068 256.5);
Tailwind
colors: {
  custom: {
    50: '#616f89',
    500: '#20395b',
    950: '#000000',
  },
}
SCSS
$custom: #20395b;
$custom-light: #616f89;
$custom-dark: #000000;
JSON
{
  "hex": "#20395b",
  "rgb": {
    "r": 32,
    "g": 57,
    "b": 91
  },
  "hsl": {
    "h": 214.576,
    "s": 47.967,
    "l": 24.118
  },
  "oklch": {
    "l": 0.34213,
    "c": 0.06769,
    "h": 256.5
  },
  "luminance": 0.03989
}

Semantic roles & 50–950 ramp

primary
#20395B
secondary
#8F7147
accent
#9E50D8
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#05070B
muted
#7A7A7C

Preview Lab

Preview with #20395B

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

Preview Lab → · Contrast checker → · Palette generator →

#20395B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva