#20385E#20385E

#20385E is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.2% C 0.074 H 259.2°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#20385E
RGBrgb(32, 56, 94)
HSLhsl(217, 49%, 25%)
HSVhsv(217, 66%, 37%)
CMYKcmyk(66%, 40.4%, 0%, 63.1%)
CIE-LABlab(23.48, 4.16, -25.46)
CIE-LCHlch(23.48, 25.80, 279.28°)
OKLaboklab(34.15% -0.0137 -0.0722)
OKLCHoklch(34.15% 0.074 259.2)
XYZxyz(4.0295, 3.9432, 11.1363)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20385E #5E4620
analogous
#20575E #20385E #27205E
triadic
#20385E #5E2038 #385E20
tetradic
#20385E #5E2057 #5E4620 #205E27
square
#20385E #5E2057 #5E4620 #205E27
split-complementary
#20385E #5E2720 #575E20
monochromatic
#080E17 #101D30 #20385E #30538C #3F6EB9

Accessibility & contrast

On white

11.74
#20385E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20385E
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20385E#FFFFFF#000000##FFFFFF
##20385E1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283B60
Deuteranopia (green-blind)
#1F355D
Tritanopia (blue-blind)
#004146
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #20385e;
/* rgb */ color: rgb(32, 56, 94);
/* oklch */ color: oklch(34.2% 0.074 259.2);
Tailwind
colors: {
  custom: {
    50: '#626e8c',
    500: '#20385e',
    950: '#000000',
  },
}
SCSS
$custom: #20385e;
$custom-light: #626e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#20385e",
  "rgb": {
    "r": 32,
    "g": 56,
    "b": 94
  },
  "hsl": {
    "h": 216.774,
    "s": 49.206,
    "l": 24.706
  },
  "oklch": {
    "l": 0.34154,
    "c": 0.07354,
    "h": 259.2
  },
  "luminance": 0.03944
}

Semantic roles & 50–950 ramp

primary
#20385E
secondary
#927547
accent
#A34FD9
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05070C
muted
#7A7A7D

Preview Lab

Preview with #20385E

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

Preview Lab → · Contrast checker → · Palette generator →

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