#20385C#20385C

#20385C is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.0% C 0.070 H 258.3°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#20385C
RGBrgb(32, 56, 92)
HSLhsl(216, 48%, 24%)
HSVhsv(216, 65%, 36%)
CMYKcmyk(65.2%, 39.1%, 0%, 63.9%)
CIE-LABlab(23.36, 3.38, -24.34)
CIE-LCHlch(23.36, 24.57, 277.91°)
OKLaboklab(34.02% -0.0143 -0.069)
OKLCHoklch(34.02% 0.07 258.3)
XYZxyz(3.9409, 3.9078, 10.6697)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20385C #5C4420
analogous
#20565C #20385C #26205C
triadic
#20385C #5C2038 #385C20
tetradic
#20385C #5C2056 #5C4420 #205C26
square
#20385C #5C2056 #5C4420 #205C26
split-complementary
#20385C #5C2620 #565C20
monochromatic
#080E17 #101C2F #20385C #305489 #406FB7

Accessibility & contrast

On white

11.79
#20385C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#20385C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20385C
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20385C#FFFFFF#000000##FFFFFF
##20385C1.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293B5D
Deuteranopia (green-blind)
#21355B
Tritanopia (blue-blind)
#004045
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #20385c;
/* rgb */ color: rgb(32, 56, 92);
/* oklch */ color: oklch(34.0% 0.070 258.3);
Tailwind
colors: {
  custom: {
    50: '#626e8a',
    500: '#20385c',
    950: '#000000',
  },
}
SCSS
$custom: #20385c;
$custom-light: #626e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#20385c",
  "rgb": {
    "r": 32,
    "g": 56,
    "b": 92
  },
  "hsl": {
    "h": 216,
    "s": 48.387,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34023,
    "c": 0.07044,
    "h": 258.3
  },
  "luminance": 0.03908
}

Semantic roles & 50–950 ramp

primary
#20385C
secondary
#907347
accent
#A250D8
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05070C
muted
#7A7A7D

Preview Lab

Preview with #20385C

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

Preview Lab → · Contrast checker → · Palette generator →

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