#20395D#20395D

#20395D is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.3% C 0.071 H 257.6°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#20395D
RGBrgb(32, 57, 93)
HSLhsl(215, 49%, 25%)
HSVhsv(215, 66%, 36%)
CMYKcmyk(65.6%, 38.7%, 0%, 63.5%)
CIE-LABlab(23.75, 3.08, -24.38)
CIE-LCHlch(23.75, 24.58, 277.20°)
OKLaboklab(34.34% -0.0152 -0.0691)
OKLCHoklch(34.34% 0.071 257.6)
XYZxyz(4.0339, 4.0233, 10.9178)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20395D #5D4420
analogous
#20585D #20395D #26205D
triadic
#20395D #5D2039 #395D20
tetradic
#20395D #5D2058 #5D4420 #205D26
square
#20395D #5D2058 #5D4420 #205D26
split-complementary
#20395D #5D2620 #585D20
monochromatic
#080E17 #101D2F #20395D #30558B #3F71B8

Accessibility & contrast

On white

11.64
#20395D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20395D
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20395D#FFFFFF#000000##FFFFFF
##20395D1.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3C5E
Deuteranopia (green-blind)
#21365C
Tritanopia (blue-blind)
#004146
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #20395d;
/* rgb */ color: rgb(32, 57, 93);
/* oklch */ color: oklch(34.3% 0.071 257.6);
Tailwind
colors: {
  custom: {
    50: '#626f8b',
    500: '#20395d',
    950: '#000000',
  },
}
SCSS
$custom: #20395d;
$custom-light: #626f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#20395d",
  "rgb": {
    "r": 32,
    "g": 57,
    "b": 93
  },
  "hsl": {
    "h": 215.41,
    "s": 48.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.34341,
    "c": 0.07076,
    "h": 257.6
  },
  "luminance": 0.04024
}

Semantic roles & 50–950 ramp

primary
#20395D
secondary
#917347
accent
#A04FD8
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#05070C
muted
#7A7A7D

Preview Lab

Preview with #20395D

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

Preview Lab → · Contrast checker → · Palette generator →

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