#20286D#20286D

#20286D is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.7% C 0.119 H 272.6°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#20286D
RGBrgb(32, 40, 109)
HSLhsl(234, 55%, 28%)
HSVhsv(234, 71%, 43%)
CMYKcmyk(70.6%, 63.3%, 0%, 57.3%)
CIE-LABlab(19.75, 21.44, -41.22)
CIE-LCHlch(19.75, 46.46, 297.48°)
OKLaboklab(31.67% 0.0053 -0.1188)
OKLCHoklch(31.67% 0.119 272.6)
XYZxyz(4.1138, 2.9284, 14.8135)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20286D #6D6520
analogous
#204F6D #20286D #3E206D
triadic
#20286D #6D2028 #286D20
tetradic
#20286D #6D204F #6D6520 #206D3E
square
#20286D #6D204F #6D6520 #206D3E
split-complementary
#20286D #6D3E20 #4F6D20
monochromatic
#070918 #12173E #20286D #2E399C #404EC7

Accessibility & contrast

On white

13.24
#20286D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#20286D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20286D
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20286D#FFFFFF#000000##FFFFFF
##20286D1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336F
Deuteranopia (green-blind)
#002C6C
Tritanopia (blue-blind)
#003946
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #20286d;
/* rgb */ color: rgb(32, 40, 109);
/* oklch */ color: oklch(31.7% 0.119 272.6);
Tailwind
colors: {
  custom: {
    50: '#666197',
    500: '#20286d',
    950: '#000000',
  },
}
SCSS
$custom: #20286d;
$custom-light: #666197;
$custom-dark: #000000;
JSON
{
  "hex": "#20286d",
  "rgb": {
    "r": 32,
    "g": 40,
    "b": 109
  },
  "hsl": {
    "h": 233.766,
    "s": 54.61,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31671,
    "c": 0.11891,
    "h": 272.6
  },
  "luminance": 0.02929
}

Semantic roles & 50–950 ramp

primary
#20286D
secondary
#A19848
accent
#CF4ADE
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #20286D

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

Preview Lab → · Contrast checker → · Palette generator →

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