#202050#202050

#202050 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.4% C 0.086 H 279.1°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#202050
RGBrgb(32, 32, 80)
HSLhsl(240, 43%, 22%)
HSVhsv(240, 60%, 31%)
CMYKcmyk(60%, 60%, 0%, 68.6%)
CIE-LABlab(15.06, 16.01, -29.60)
CIE-LCHlch(15.06, 33.65, 298.40°)
OKLaboklab(27.41% 0.0136 -0.0847)
OKLCHoklch(27.41% 0.086 279.1)
XYZxyz(2.5597, 1.9191, 7.8234)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202050 #505020
analogous
#203850 #202050 #382050
triadic
#202050 #502020 #205020
tetradic
#202050 #502038 #505020 #205038
square
#202050 #502038 #505020 #205038
split-complementary
#202050 #503820 #385020
monochromatic
#090916 #0F0F24 #202050 #31317C #4343A7

Accessibility & contrast

On white

15.18
#202050 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#202050 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202050
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202050#FFFFFF#000000##FFFFFF
##2020501.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032852
Deuteranopia (green-blind)
#00244F
Tritanopia (blue-blind)
#092B34
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #202050;
/* rgb */ color: rgb(32, 32, 80);
/* oklch */ color: oklch(27.4% 0.086 279.1);
Tailwind
colors: {
  custom: {
    50: '#605b81',
    500: '#202050',
    950: '#000000',
  },
}
SCSS
$custom: #202050;
$custom-light: #605b81;
$custom-dark: #000000;
JSON
{
  "hex": "#202050",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 80
  },
  "hsl": {
    "h": 240,
    "s": 42.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.27413,
    "c": 0.08579,
    "h": 279.1
  },
  "luminance": 0.01919
}

Semantic roles & 50–950 ramp

primary
#202050
secondary
#848447
accent
#D355D3
background
#F5F5F7
surface
#EAE9EE
border
#C6C5C9
text
#05040A
muted
#79797C

Preview Lab

Preview with #202050

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

Preview Lab → · Contrast checker → · Palette generator →

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