#202049#202049

#202049 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.8% C 0.074 H 280.2°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#202049
RGBrgb(32, 32, 73)
HSLhsl(240, 39%, 21%)
HSVhsv(240, 56%, 29%)
CMYKcmyk(56.2%, 56.2%, 0%, 71.4%)
CIE-LABlab(14.52, 13.38, -25.67)
CIE-LCHlch(14.52, 28.95, 297.52°)
OKLaboklab(26.84% 0.0131 -0.0732)
OKLCHoklch(26.84% 0.074 280.2)
XYZxyz(2.3144, 1.8210, 6.5316)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202049 #494920
analogous
#203449 #202049 #342049
triadic
#202049 #492020 #204920
tetradic
#202049 #492034 #494920 #204934
square
#202049 #492034 #494920 #204934
split-complementary
#202049 #493420 #344920
monochromatic
#090915 #0D0D1E #202049 #333374 #45459E

Accessibility & contrast

On white

15.39
#202049 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#202049 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202049
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202049#FFFFFF#000000##FFFFFF
##2020491.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C264A
Deuteranopia (green-blind)
#082348
Tritanopia (blue-blind)
#102931
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #202049;
/* rgb */ color: rgb(32, 32, 73);
/* oklch */ color: oklch(26.8% 0.074 280.2);
Tailwind
colors: {
  custom: {
    50: '#5f5b7c',
    500: '#202049',
    950: '#000000',
  },
}
SCSS
$custom: #202049;
$custom-light: #5f5b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#202049",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 73
  },
  "hsl": {
    "h": 240,
    "s": 39.048,
    "l": 20.588
  },
  "oklch": {
    "l": 0.26837,
    "c": 0.07433,
    "h": 280.2
  },
  "luminance": 0.01821
}

Semantic roles & 50–950 ramp

primary
#202049
secondary
#7D7D48
accent
#CF59CF
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#050409
muted
#79797B

Preview Lab

Preview with #202049

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

Preview Lab → · Contrast checker → · Palette generator →

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