#20239D#20239D

#20239D is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.8% C 0.189 H 270.7°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#20239D
RGBrgb(32, 35, 157)
HSLhsl(239, 66%, 37%)
HSVhsv(239, 80%, 62%)
CMYKcmyk(79.6%, 77.7%, 0%, 38.4%)
CIE-LABlab(23.48, 42.17, -65.27)
CIE-LCHlch(23.48, 77.71, 302.86°)
OKLaboklab(35.83% 0.0025 -0.189)
OKLCHoklch(35.83% 0.189 270.7)
XYZxyz(7.2804, 3.9426, 32.2691)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20239D #9D9A20
analogous
#20629D #20239D #5C209D
triadic
#20239D #9D2023 #239D20
tetradic
#20239D #9D2062 #9D9A20 #209D5C
square
#20239D #9D2062 #9D9A20 #209D5C
split-complementary
#20239D #9D5C20 #629D20
monochromatic
#0B0C37 #16186A #20239D #2A2ED0 #5A5DDD

Accessibility & contrast

On white

11.74
#20239D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#20239D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20239D
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20239D#FFFFFF#000000##FFFFFF
##20239D1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA0
Deuteranopia (green-blind)
#00329B
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #20239d;
/* rgb */ color: rgb(32, 35, 157);
/* oklch */ color: oklch(35.8% 0.189 270.7);
Tailwind
colors: {
  custom: {
    50: '#7360bb',
    500: '#20239d',
    950: '#000000',
  },
}
SCSS
$custom: #20239d;
$custom-light: #7360bb;
$custom-dark: #000000;
JSON
{
  "hex": "#20239d",
  "rgb": {
    "r": 32,
    "g": 35,
    "b": 157
  },
  "hsl": {
    "h": 238.56,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.35833,
    "c": 0.18904,
    "h": 270.7
  },
  "luminance": 0.03943
}

Semantic roles & 50–950 ramp

primary
#20239D
secondary
#C1BF57
accent
#E53FE9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #20239D

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

Preview Lab → · Contrast checker → · Palette generator →

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