#20289A#20289A

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

Color values

HEX#20289A
RGBrgb(32, 40, 154)
HSLhsl(236, 66%, 36%)
HSVhsv(236, 79%, 60%)
CMYKcmyk(79.2%, 74%, 0%, 39.6%)
CIE-LABlab(24.18, 38.21, -62.28)
CIE-LCHlch(24.18, 73.06, 301.53°)
OKLaboklab(36.23% 0.001 -0.1803)
OKLCHoklch(36.23% 0.18 270.3)
XYZxyz(7.1852, 4.1569, 30.9893)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20289A #9A9220
analogous
#20659A #20289A #55209A
triadic
#20289A #9A2028 #289A20
tetradic
#20289A #9A2065 #9A9220 #209A55
square
#20289A #9A2065 #9A9220 #209A55
split-complementary
#20289A #9A5520 #659A20
monochromatic
#0B0E35 #151B67 #20289A #2B35CD #5861DC

Accessibility & contrast

On white

11.47
#20289A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#20289A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20289A
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20289A#FFFFFF#000000##FFFFFF
##20289A1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9D
Deuteranopia (green-blind)
#003398
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #20289a;
/* rgb */ color: rgb(32, 40, 154);
/* oklch */ color: oklch(36.2% 0.180 270.3);
Tailwind
colors: {
  custom: {
    50: '#7263b9',
    500: '#20289a',
    950: '#000000',
  },
}
SCSS
$custom: #20289a;
$custom-light: #7263b9;
$custom-dark: #000000;
JSON
{
  "hex": "#20289a",
  "rgb": {
    "r": 32,
    "g": 40,
    "b": 154
  },
  "hsl": {
    "h": 236.066,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36234,
    "c": 0.18035,
    "h": 270.3
  },
  "luminance": 0.04158
}

Semantic roles & 50–950 ramp

primary
#20289A
secondary
#C0B956
accent
#DD3FE9
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #20289A

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

Preview Lab → · Contrast checker → · Palette generator →

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