#20385A#20385A

#20385A is a dark, moderate blue. Relative luminance 0.039; OKLCH L 33.9% C 0.067 H 257.2°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#20385A
RGBrgb(32, 56, 90)
HSLhsl(215, 48%, 24%)
HSVhsv(215, 64%, 35%)
CMYKcmyk(64.4%, 37.8%, 0%, 64.7%)
CIE-LABlab(23.25, 2.61, -23.21)
CIE-LCHlch(23.25, 23.36, 276.42°)
OKLaboklab(33.89% -0.0149 -0.0657)
OKLCHoklch(33.89% 0.067 257.2)
XYZxyz(3.8546, 3.8733, 10.2154)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20385A #5A4220
analogous
#20555A #20385A #25205A
triadic
#20385A #5A2038 #385A20
tetradic
#20385A #5A2055 #5A4220 #205A25
square
#20385A #5A2055 #5A4220 #205A25
split-complementary
#20385A #5A2520 #555A20
monochromatic
#080E17 #101C2D #20385A #305487 #4070B4

Accessibility & contrast

On white

11.83
#20385A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#20385A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20385A
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20385A#FFFFFF#000000##FFFFFF
##20385A1.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3A5B
Deuteranopia (green-blind)
#223559
Tritanopia (blue-blind)
#004044
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #20385a;
/* rgb */ color: rgb(32, 56, 90);
/* oklch */ color: oklch(33.9% 0.067 257.2);
Tailwind
colors: {
  custom: {
    50: '#616e89',
    500: '#20385a',
    950: '#000000',
  },
}
SCSS
$custom: #20385a;
$custom-light: #616e89;
$custom-dark: #000000;
JSON
{
  "hex": "#20385a",
  "rgb": {
    "r": 32,
    "g": 56,
    "b": 90
  },
  "hsl": {
    "h": 215.172,
    "s": 47.541,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33895,
    "c": 0.06735,
    "h": 257.2
  },
  "luminance": 0.03874
}

Semantic roles & 50–950 ramp

primary
#20385A
secondary
#8E7147
accent
#9F51D7
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05070B
muted
#797A7C

Preview Lab

Preview with #20385A

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

Preview Lab → · Contrast checker → · Palette generator →

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