#20289B#20289B

#20289B is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.182 H 270.3°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#20289B
RGBrgb(32, 40, 155)
HSLhsl(236, 66%, 37%)
HSVhsv(236, 79%, 61%)
CMYKcmyk(79.4%, 74.2%, 0%, 39.2%)
CIE-LABlab(24.29, 38.56, -62.71)
CIE-LCHlch(24.29, 73.62, 301.59°)
OKLaboklab(36.34% 0.0009 -0.1816)
OKLCHoklch(36.34% 0.182 270.3)
XYZxyz(7.2688, 4.1904, 31.4297)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20289B #9B9320
analogous
#20659B #20289B #56209B
triadic
#20289B #9B2028 #289B20
tetradic
#20289B #9B2065 #9B9320 #209B56
square
#20289B #9B2065 #9B9320 #209B56
split-complementary
#20289B #9B5620 #659B20
monochromatic
#0B0E36 #161B68 #20289B #2A35CE #5961DD

Accessibility & contrast

On white

11.42
#20289B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#20289B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20289B
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20289B#FFFFFF#000000##FFFFFF
##20289B1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409E
Deuteranopia (green-blind)
#003499
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #20289b;
/* rgb */ color: rgb(32, 40, 155);
/* oklch */ color: oklch(36.3% 0.182 270.3);
Tailwind
colors: {
  custom: {
    50: '#7263ba',
    500: '#20289b',
    950: '#000000',
  },
}
SCSS
$custom: #20289b;
$custom-light: #7263ba;
$custom-dark: #000000;
JSON
{
  "hex": "#20289b",
  "rgb": {
    "r": 32,
    "g": 40,
    "b": 155
  },
  "hsl": {
    "h": 236.098,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36343,
    "c": 0.18162,
    "h": 270.3
  },
  "luminance": 0.04191
}

Semantic roles & 50–950 ramp

primary
#20289B
secondary
#C1BA56
accent
#DE3FE9
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #20289B

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

Preview Lab → · Contrast checker → · Palette generator →

#20289B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva