#20239A#20239A

#20239A is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.5% C 0.185 H 270.9°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#20239A
RGBrgb(32, 35, 154)
HSLhsl(239, 66%, 36%)
HSVhsv(239, 79%, 60%)
CMYKcmyk(79.2%, 77.3%, 0%, 39.6%)
CIE-LABlab(23.14, 41.15, -64.00)
CIE-LCHlch(23.14, 76.09, 302.74°)
OKLaboklab(35.49% 0.003 -0.1853)
OKLCHoklch(35.49% 0.185 270.9)
XYZxyz(7.0275, 3.8415, 30.9367)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20239A #9A9720
analogous
#20609A #20239A #5A209A
triadic
#20239A #9A2023 #239A20
tetradic
#20239A #9A2060 #9A9720 #209A5A
square
#20239A #9A2060 #9A9720 #209A5A
split-complementary
#20239A #9A5A20 #609A20
monochromatic
#0B0C35 #151767 #20239A #2B2FCD #585BDC

Accessibility & contrast

On white

11.88
#20239A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#20239A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20239A
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20239A#FFFFFF#000000##FFFFFF
##20239A1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9D
Deuteranopia (green-blind)
#003198
Tritanopia (blue-blind)
#00475D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #20239a;
/* rgb */ color: rgb(32, 35, 154);
/* oklch */ color: oklch(35.5% 0.185 270.9);
Tailwind
colors: {
  custom: {
    50: '#7260b9',
    500: '#20239a',
    950: '#000000',
  },
}
SCSS
$custom: #20239a;
$custom-light: #7260b9;
$custom-dark: #000000;
JSON
{
  "hex": "#20239a",
  "rgb": {
    "r": 32,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 238.525,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35493,
    "c": 0.18534,
    "h": 270.9
  },
  "luminance": 0.03842
}

Semantic roles & 50–950 ramp

primary
#20239A
secondary
#C0BE56
accent
#E43FE9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #20239A

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

Preview Lab → · Contrast checker → · Palette generator →

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