#202A9C#202A9C

#202A9C is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.181 H 270.0°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#202A9C
RGBrgb(32, 42, 156)
HSLhsl(235, 66%, 37%)
HSVhsv(235, 79%, 61%)
CMYKcmyk(79.5%, 73.1%, 0%, 38.8%)
CIE-LABlab(24.84, 37.70, -62.42)
CIE-LCHlch(24.84, 72.92, 301.13°)
OKLaboklab(36.76% -0.0001 -0.1808)
OKLCHoklch(36.76% 0.181 270)
XYZxyz(7.4223, 4.3625, 31.8969)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202A9C #9C9220
analogous
#20689C #202A9C #54209C
triadic
#202A9C #9C202A #2A9C20
tetradic
#202A9C #9C2068 #9C9220 #209C54
square
#202A9C #9C2068 #9C9220 #209C54
split-complementary
#202A9C #9C5420 #689C20
monochromatic
#0B0F36 #161C69 #202A9C #2A38CF #5964DD

Accessibility & contrast

On white

11.21
#202A9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#202A9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202A9C
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202A9C#FFFFFF#000000##FFFFFF
##202A9C1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#00359A
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #202a9c;
/* rgb */ color: rgb(32, 42, 156);
/* oklch */ color: oklch(36.8% 0.181 270.0);
Tailwind
colors: {
  custom: {
    50: '#7264ba',
    500: '#202a9c',
    950: '#000000',
  },
}
SCSS
$custom: #202a9c;
$custom-light: #7264ba;
$custom-dark: #000000;
JSON
{
  "hex": "#202a9c",
  "rgb": {
    "r": 32,
    "g": 42,
    "b": 156
  },
  "hsl": {
    "h": 235.161,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36764,
    "c": 0.18079,
    "h": 270
  },
  "luminance": 0.04363
}

Semantic roles & 50–950 ramp

primary
#202A9C
secondary
#C1B857
accent
#DB3FE9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090512
muted
#7B7A81

Preview Lab

Preview with #202A9C

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

Preview Lab → · Contrast checker → · Palette generator →

#202A9C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva