#20296D#20296D

#20296D is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.9% C 0.118 H 272.2°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#20296D
RGBrgb(32, 41, 109)
HSLhsl(233, 55%, 28%)
HSVhsv(233, 71%, 43%)
CMYKcmyk(70.6%, 62.4%, 0%, 57.3%)
CIE-LABlab(20.03, 20.73, -40.77)
CIE-LCHlch(20.03, 45.74, 296.95°)
OKLaboklab(31.87% 0.0044 -0.1175)
OKLCHoklch(31.87% 0.118 272.2)
XYZxyz(4.1480, 2.9967, 14.8249)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20296D #6D6420
analogous
#204F6D #20296D #3D206D
triadic
#20296D #6D2029 #296D20
tetradic
#20296D #6D204F #6D6420 #206D3D
square
#20296D #6D204F #6D6420 #206D3D
split-complementary
#20296D #6D3D20 #4F6D20
monochromatic
#070918 #12173E #20296D #2E3B9C #4050C7

Accessibility & contrast

On white

13.13
#20296D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#20296D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20296D
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20296D#FFFFFF#000000##FFFFFF
##20296D1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346F
Deuteranopia (green-blind)
#002D6C
Tritanopia (blue-blind)
#003A46
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #20296d;
/* rgb */ color: rgb(32, 41, 109);
/* oklch */ color: oklch(31.9% 0.118 272.2);
Tailwind
colors: {
  custom: {
    50: '#666297',
    500: '#20296d',
    950: '#000000',
  },
}
SCSS
$custom: #20296d;
$custom-light: #666297;
$custom-dark: #000000;
JSON
{
  "hex": "#20296d",
  "rgb": {
    "r": 32,
    "g": 41,
    "b": 109
  },
  "hsl": {
    "h": 232.987,
    "s": 54.61,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31875,
    "c": 0.11754,
    "h": 272.2
  },
  "luminance": 0.02997
}

Semantic roles & 50–950 ramp

primary
#20296D
secondary
#A19648
accent
#CD4ADE
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #20296D

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

Preview Lab → · Contrast checker → · Palette generator →

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