#20325F#20325F

#20325F is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.7% C 0.083 H 265.6°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#20325F
RGBrgb(32, 50, 95)
HSLhsl(223, 50%, 25%)
HSVhsv(223, 66%, 37%)
CMYKcmyk(66.3%, 47.4%, 0%, 62.7%)
CIE-LABlab(21.63, 8.78, -29.06)
CIE-LCHlch(21.63, 30.36, 286.81°)
OKLaboklab(32.75% -0.0063 -0.0829)
OKLCHoklch(32.75% 0.083 265.6)
XYZxyz(3.8011, 3.4142, 11.2829)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20325F #5F4D20
analogous
#20525F #20325F #2E205F
triadic
#20325F #5F2032 #325F20
tetradic
#20325F #5F2052 #5F4D20 #205F2E
square
#20325F #5F2052 #5F4D20 #205F2E
split-complementary
#20325F #5F2E20 #525F20
monochromatic
#080C17 #111A31 #20325F #2F4A8D #3F62BB

Accessibility & contrast

On white

12.48
#20325F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#20325F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20325F
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20325F#FFFFFF#000000##FFFFFF
##20325F1.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3761
Deuteranopia (green-blind)
#13315E
Tritanopia (blue-blind)
#003C43
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #20325f;
/* rgb */ color: rgb(32, 50, 95);
/* oklch */ color: oklch(32.7% 0.083 265.6);
Tailwind
colors: {
  custom: {
    50: '#62698d',
    500: '#20325f',
    950: '#000000',
  },
}
SCSS
$custom: #20325f;
$custom-light: #62698d;
$custom-dark: #000000;
JSON
{
  "hex": "#20325f",
  "rgb": {
    "r": 32,
    "g": 50,
    "b": 95
  },
  "hsl": {
    "h": 222.857,
    "s": 49.606,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32745,
    "c": 0.08313,
    "h": 265.6
  },
  "luminance": 0.03415
}

Semantic roles & 50–950 ramp

primary
#20325F
secondary
#937E47
accent
#B24FD9
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060C
muted
#7A7A7D

Preview Lab

Preview with #20325F

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

Preview Lab → · Contrast checker → · Palette generator →

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