#202056#202056

#202056 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.9% C 0.095 H 278.3°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#202056
RGBrgb(32, 32, 86)
HSLhsl(240, 46%, 23%)
HSVhsv(240, 63%, 34%)
CMYKcmyk(62.8%, 62.8%, 0%, 66.3%)
CIE-LABlab(15.55, 18.28, -32.87)
CIE-LCHlch(15.55, 37.61, 299.08°)
OKLaboklab(27.93% 0.0137 -0.0943)
OKLCHoklch(27.93% 0.095 278.3)
XYZxyz(2.7914, 2.0118, 9.0435)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202056 #565620
analogous
#203B56 #202056 #3B2056
triadic
#202056 #562020 #205620
tetradic
#202056 #56203B #565620 #20563B
square
#202056 #56203B #565620 #20563B
split-complementary
#202056 #563B20 #3B5620
monochromatic
#080816 #0F0F29 #202056 #313183 #4141AF

Accessibility & contrast

On white

14.97
#202056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#202056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202056
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202056#FFFFFF#000000##FFFFFF
##2020561.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002958
Deuteranopia (green-blind)
#002555
Tritanopia (blue-blind)
#012D37
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #202056;
/* rgb */ color: rgb(32, 32, 86);
/* oklch */ color: oklch(27.9% 0.095 278.3);
Tailwind
colors: {
  custom: {
    50: '#625b86',
    500: '#202056',
    950: '#000000',
  },
}
SCSS
$custom: #202056;
$custom-light: #625b86;
$custom-dark: #000000;
JSON
{
  "hex": "#202056",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 86
  },
  "hsl": {
    "h": 240,
    "s": 45.763,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27934,
    "c": 0.09532,
    "h": 278.3
  },
  "luminance": 0.02012
}

Semantic roles & 50–950 ramp

primary
#202056
secondary
#8B8B47
accent
#D552D5
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#05040B
muted
#7A797C

Preview Lab

Preview with #202056

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

Preview Lab → · Contrast checker → · Palette generator →

#202056 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva