#20385F#20385F

#20385F is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.2% C 0.075 H 259.7°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#20385F
RGBrgb(32, 56, 95)
HSLhsl(217, 50%, 25%)
HSVhsv(217, 66%, 37%)
CMYKcmyk(66.3%, 41.1%, 0%, 62.7%)
CIE-LABlab(23.54, 4.55, -26.01)
CIE-LCHlch(23.54, 26.41, 279.92°)
OKLaboklab(34.22% -0.0135 -0.0739)
OKLCHoklch(34.22% 0.075 259.7)
XYZxyz(4.0747, 3.9613, 11.3741)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20385F #5F4720
analogous
#20575F #20385F #28205F
triadic
#20385F #5F2038 #385F20
tetradic
#20385F #5F2057 #5F4720 #205F28
square
#20385F #5F2057 #5F4720 #205F28
split-complementary
#20385F #5F2820 #575F20
monochromatic
#080D17 #111D31 #20385F #2F538D #3F6EBB

Accessibility & contrast

On white

11.72
#20385F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#20385F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20385F
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20385F#FFFFFF#000000##FFFFFF
##20385F1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273B61
Deuteranopia (green-blind)
#1E355E
Tritanopia (blue-blind)
#004147
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #20385f;
/* rgb */ color: rgb(32, 56, 95);
/* oklch */ color: oklch(34.2% 0.075 259.7);
Tailwind
colors: {
  custom: {
    50: '#626e8c',
    500: '#20385f',
    950: '#000000',
  },
}
SCSS
$custom: #20385f;
$custom-light: #626e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#20385f",
  "rgb": {
    "r": 32,
    "g": 56,
    "b": 95
  },
  "hsl": {
    "h": 217.143,
    "s": 49.606,
    "l": 24.902
  },
  "oklch": {
    "l": 0.34221,
    "c": 0.07511,
    "h": 259.7
  },
  "luminance": 0.03962
}

Semantic roles & 50–950 ramp

primary
#20385F
secondary
#937647
accent
#A44FD9
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05070C
muted
#7A7A7D

Preview Lab

Preview with #20385F

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

Preview Lab → · Contrast checker → · Palette generator →

#20385F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva