#202799#202799

#202799 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.180 H 270.5°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#202799
RGBrgb(32, 39, 153)
HSLhsl(237, 65%, 36%)
HSVhsv(237, 79%, 60%)
CMYKcmyk(79.1%, 74.5%, 0%, 40%)
CIE-LABlab(23.86, 38.46, -62.20)
CIE-LCHlch(23.86, 73.13, 301.73°)
OKLaboklab(35.97% 0.0016 -0.1801)
OKLCHoklch(35.97% 0.18 270.5)
XYZxyz(7.0690, 4.0572, 30.5414)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202799 #999220
analogous
#206499 #202799 #562099
triadic
#202799 #992027 #279920
tetradic
#202799 #992064 #999220 #209956
square
#202799 #992064 #999220 #209956
split-complementary
#202799 #995620 #649920
monochromatic
#0B0D34 #151A66 #202799 #2B34CC #575FDC

Accessibility & contrast

On white

11.59
#202799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#202799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202799
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202799#FFFFFF#000000##FFFFFF
##2027991.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9C
Deuteranopia (green-blind)
#003397
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #202799;
/* rgb */ color: rgb(32, 39, 153);
/* oklch */ color: oklch(36.0% 0.180 270.5);
Tailwind
colors: {
  custom: {
    50: '#7262b8',
    500: '#202799',
    950: '#000000',
  },
}
SCSS
$custom: #202799;
$custom-light: #7262b8;
$custom-dark: #000000;
JSON
{
  "hex": "#202799",
  "rgb": {
    "r": 32,
    "g": 39,
    "b": 153
  },
  "hsl": {
    "h": 236.529,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35971,
    "c": 0.18013,
    "h": 270.5
  },
  "luminance": 0.04058
}

Semantic roles & 50–950 ramp

primary
#202799
secondary
#C0BA55
accent
#DF3FE8
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #202799

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

Preview Lab → · Contrast checker → · Palette generator →

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