#202A88#202A88

#202A88 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.7% C 0.155 H 270.8°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#202A88
RGBrgb(32, 42, 136)
HSLhsl(234, 62%, 33%)
HSVhsv(234, 76%, 53%)
CMYKcmyk(76.5%, 69.1%, 0%, 46.7%)
CIE-LABlab(22.79, 30.38, -53.42)
CIE-LCHlch(22.79, 61.46, 299.63°)
OKLaboklab(34.67% 0.0022 -0.1545)
OKLCHoklch(34.67% 0.155 270.8)
XYZxyz(5.8660, 3.7400, 23.7005)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202A88 #887E20
analogous
#205E88 #202A88 #4A2088
triadic
#202A88 #88202A #2A8820
tetradic
#202A88 #88205E #887E20 #20884A
square
#202A88 #88205E #887E20 #20884A
split-complementary
#202A88 #884A20 #5E8820
monochromatic
#090B25 #141B56 #202A88 #2C39BA #4D5AD5

Accessibility & contrast

On white

12.01
#202A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#202A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202A88
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202A88#FFFFFF#000000##FFFFFF
##202A881.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8B
Deuteranopia (green-blind)
#003186
Tritanopia (blue-blind)
#004355
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #202a88;
/* rgb */ color: rgb(32, 42, 136);
/* oklch */ color: oklch(34.7% 0.155 270.8);
Tailwind
colors: {
  custom: {
    50: '#6d64ac',
    500: '#202a88',
    950: '#000000',
  },
}
SCSS
$custom: #202a88;
$custom-light: #6d64ac;
$custom-dark: #000000;
JSON
{
  "hex": "#202a88",
  "rgb": {
    "r": 32,
    "g": 42,
    "b": 136
  },
  "hsl": {
    "h": 234.231,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34674,
    "c": 0.15457,
    "h": 270.8
  },
  "luminance": 0.03741
}

Semantic roles & 50–950 ramp

primary
#202A88
secondary
#B8AE4C
accent
#D543E5
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #202A88

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

Preview Lab → · Contrast checker → · Palette generator →

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