#20296E#20296E

#20296E is a dark, moderate blue. Relative luminance 0.030; OKLCH L 32.0% C 0.119 H 272.1°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#20296E
RGBrgb(32, 41, 110)
HSLhsl(233, 55%, 28%)
HSVhsv(233, 71%, 43%)
CMYKcmyk(70.9%, 62.7%, 0%, 56.9%)
CIE-LABlab(20.12, 21.12, -41.27)
CIE-LCHlch(20.12, 46.36, 297.10°)
OKLaboklab(31.97% 0.0044 -0.1189)
OKLCHoklch(31.97% 0.119 272.1)
XYZxyz(4.2021, 3.0184, 15.1100)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20296E #6E6520
analogous
#20506E #20296E #3E206E
triadic
#20296E #6E2029 #296E20
tetradic
#20296E #6E2050 #6E6520 #206E3E
square
#20296E #6E2050 #6E6520 #206E3E
split-complementary
#20296E #6E3E20 #506E20
monochromatic
#070918 #12173F #20296E #2E3B9D #4150C8

Accessibility & contrast

On white

13.09
#20296E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20296E
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20296E#FFFFFF#000000##FFFFFF
##20296E1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003470
Deuteranopia (green-blind)
#002D6D
Tritanopia (blue-blind)
#003A47
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #20296e;
/* rgb */ color: rgb(32, 41, 110);
/* oklch */ color: oklch(32.0% 0.119 272.1);
Tailwind
colors: {
  custom: {
    50: '#666298',
    500: '#20296e',
    950: '#000000',
  },
}
SCSS
$custom: #20296e;
$custom-light: #666298;
$custom-dark: #000000;
JSON
{
  "hex": "#20296e",
  "rgb": {
    "r": 32,
    "g": 41,
    "b": 110
  },
  "hsl": {
    "h": 233.077,
    "s": 54.93,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31967,
    "c": 0.11903,
    "h": 272.1
  },
  "luminance": 0.03019
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #20296E

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

Preview Lab → · Contrast checker → · Palette generator →

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