#20296C#20296C

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

Color values

HEX#20296C
RGBrgb(32, 41, 108)
HSLhsl(233, 54%, 27%)
HSVhsv(233, 70%, 42%)
CMYKcmyk(70.4%, 62%, 0%, 57.6%)
CIE-LABlab(19.94, 20.34, -40.26)
CIE-LCHlch(19.94, 45.11, 296.81°)
OKLaboklab(31.79% 0.0044 -0.116)
OKLCHoklch(31.79% 0.116 272.2)
XYZxyz(4.0945, 2.9753, 14.5430)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20296C #6C6320
analogous
#204F6C #20296C #3D206C
triadic
#20296C #6C2029 #296C20
tetradic
#20296C #6C204F #6C6320 #206C3D
square
#20296C #6C204F #6C6320 #206C3D
split-complementary
#20296C #6C3D20 #4F6C20
monochromatic
#070918 #12173D #20296C #2E3B9B #4050C6

Accessibility & contrast

On white

13.16
#20296C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20296C
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20296C#FFFFFF#000000##FFFFFF
##20296C1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20296c;
/* rgb */ color: rgb(32, 41, 108);
/* oklch */ color: oklch(31.8% 0.116 272.2);
Tailwind
colors: {
  custom: {
    50: '#666297',
    500: '#20296c',
    950: '#000000',
  },
}
SCSS
$custom: #20296c;
$custom-light: #666297;
$custom-dark: #000000;
JSON
{
  "hex": "#20296c",
  "rgb": {
    "r": 32,
    "g": 41,
    "b": 108
  },
  "hsl": {
    "h": 232.895,
    "s": 54.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31785,
    "c": 0.11605,
    "h": 272.2
  },
  "luminance": 0.02976
}

Semantic roles & 50–950 ramp

primary
#20296C
secondary
#A09648
accent
#CC4ADE
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #20296C

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

Preview Lab → · Contrast checker → · Palette generator →

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