#20327C#20327C

#20327C is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.1% C 0.128 H 268.6°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#20327C
RGBrgb(32, 50, 124)
HSLhsl(228, 59%, 31%)
HSVhsv(228, 74%, 49%)
CMYKcmyk(74.2%, 59.7%, 0%, 51.4%)
CIE-LABlab(23.81, 20.29, -44.21)
CIE-LCHlch(23.81, 48.64, 294.65°)
OKLaboklab(35.09% -0.0032 -0.1275)
OKLCHoklch(35.09% 0.128 268.6)
XYZxyz(5.3731, 4.0430, 19.5621)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20327C #7C6A20
analogous
#20607C #20327C #3C207C
triadic
#20327C #7C2032 #327C20
tetradic
#20327C #7C2060 #7C6A20 #207C3C
square
#20327C #7C2060 #7C6A20 #207C3C
split-complementary
#20327C #7C3C20 #607C20
monochromatic
#070B1B #131E4B #20327C #2D46AD #4762CF

Accessibility & contrast

On white

11.61
#20327C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#20327C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20327C
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20327C#FFFFFF#000000##FFFFFF
##20327C1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7F
Deuteranopia (green-blind)
#00357B
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #20327c;
/* rgb */ color: rgb(32, 50, 124);
/* oklch */ color: oklch(35.1% 0.128 268.6);
Tailwind
colors: {
  custom: {
    50: '#6969a3',
    500: '#20327c',
    950: '#000000',
  },
}
SCSS
$custom: #20327c;
$custom-light: #6969a3;
$custom-dark: #000000;
JSON
{
  "hex": "#20327c",
  "rgb": {
    "r": 32,
    "g": 50,
    "b": 124
  },
  "hsl": {
    "h": 228.261,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35091,
    "c": 0.1275,
    "h": 268.6
  },
  "luminance": 0.04044
}

Semantic roles & 50–950 ramp

primary
#20327C
secondary
#AF9B49
accent
#C446E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #20327C

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

Preview Lab → · Contrast checker → · Palette generator →

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