#20296A#20296A

#20296A is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.6% C 0.113 H 272.2°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#20296A
RGBrgb(32, 41, 106)
HSLhsl(233, 54%, 27%)
HSVhsv(233, 70%, 42%)
CMYKcmyk(69.8%, 61.3%, 0%, 58.4%)
CIE-LABlab(19.77, 19.56, -39.24)
CIE-LCHlch(19.77, 43.84, 296.50°)
OKLaboklab(31.61% 0.0044 -0.113)
OKLCHoklch(31.61% 0.113 272.2)
XYZxyz(3.9892, 2.9332, 13.9888)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20296A #6A6120
analogous
#204E6A #20296A #3C206A
triadic
#20296A #6A2029 #296A20
tetradic
#20296A #6A204E #6A6120 #206A3C
square
#20296A #6A204E #6A6120 #206A3C
split-complementary
#20296A #6A3C20 #4E6A20
monochromatic
#070918 #12173B #20296A #2E3B99 #3F50C5

Accessibility & contrast

On white

13.23
#20296A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#20296A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20296A
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20296A#FFFFFF#000000##FFFFFF
##20296A1.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336C
Deuteranopia (green-blind)
#002D69
Tritanopia (blue-blind)
#003945
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #20296a;
/* rgb */ color: rgb(32, 41, 106);
/* oklch */ color: oklch(31.6% 0.113 272.2);
Tailwind
colors: {
  custom: {
    50: '#666295',
    500: '#20296a',
    950: '#000000',
  },
}
SCSS
$custom: #20296a;
$custom-light: #666295;
$custom-dark: #000000;
JSON
{
  "hex": "#20296a",
  "rgb": {
    "r": 32,
    "g": 41,
    "b": 106
  },
  "hsl": {
    "h": 232.703,
    "s": 53.623,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31605,
    "c": 0.11306,
    "h": 272.2
  },
  "luminance": 0.02934
}

Semantic roles & 50–950 ramp

primary
#20296A
secondary
#9E9448
accent
#CB4BDD
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #20296A

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

Preview Lab → · Contrast checker → · Palette generator →

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