#202899#202899

#202899 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.1% C 0.179 H 270.4°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#202899
RGBrgb(32, 40, 153)
HSLhsl(236, 65%, 36%)
HSVhsv(236, 79%, 60%)
CMYKcmyk(79.1%, 73.9%, 0%, 40%)
CIE-LABlab(24.08, 37.86, -61.84)
CIE-LCHlch(24.08, 72.51, 301.47°)
OKLaboklab(36.13% 0.0012 -0.1791)
OKLCHoklch(36.13% 0.179 270.4)
XYZxyz(7.1023, 4.1238, 30.5525)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202899 #999120
analogous
#206599 #202899 #552099
triadic
#202899 #992028 #289920
tetradic
#202899 #992065 #999120 #209955
square
#202899 #992065 #999120 #209955
split-complementary
#202899 #995520 #659920
monochromatic
#0B0E34 #151B66 #202899 #2B35CC #5760DC

Accessibility & contrast

On white

11.51
#202899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#202899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202899
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202899#FFFFFF#000000##FFFFFF
##2028991.0011.511.8311.51
#FFFFFF11.511.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.511.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: #202899;
/* rgb */ color: rgb(32, 40, 153);
/* oklch */ color: oklch(36.1% 0.179 270.4);
Tailwind
colors: {
  custom: {
    50: '#7263b8',
    500: '#202899',
    950: '#000000',
  },
}
SCSS
$custom: #202899;
$custom-light: #7263b8;
$custom-dark: #000000;
JSON
{
  "hex": "#202899",
  "rgb": {
    "r": 32,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 236.033,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36126,
    "c": 0.17908,
    "h": 270.4
  },
  "luminance": 0.04125
}

Semantic roles & 50–950 ramp

primary
#202899
secondary
#C0B955
accent
#DD3FE8
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #202899

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

Preview Lab → · Contrast checker → · Palette generator →

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