#202A86#202A86

#202A86 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.5% C 0.152 H 270.9°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#202A86
RGBrgb(32, 42, 134)
HSLhsl(234, 61%, 33%)
HSVhsv(234, 76%, 53%)
CMYKcmyk(76.1%, 68.7%, 0%, 47.5%)
CIE-LABlab(22.60, 29.63, -52.49)
CIE-LCHlch(22.60, 60.28, 299.45°)
OKLaboklab(34.47% 0.0024 -0.1518)
OKLCHoklch(34.47% 0.152 270.9)
XYZxyz(5.7252, 3.6836, 22.9589)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202A86 #867C20
analogous
#205D86 #202A86 #492086
triadic
#202A86 #86202A #2A8620
tetradic
#202A86 #86205D #867C20 #208649
square
#202A86 #86205D #867C20 #208649
split-complementary
#202A86 #864920 #5D8620
monochromatic
#080B23 #141B55 #202A86 #2C39B7 #4C59D4

Accessibility & contrast

On white

12.09
#202A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#202A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202A86
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202A86#FFFFFF#000000##FFFFFF
##202A861.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B89
Deuteranopia (green-blind)
#003184
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #202a86;
/* rgb */ color: rgb(32, 42, 134);
/* oklch */ color: oklch(34.5% 0.152 270.9);
Tailwind
colors: {
  custom: {
    50: '#6c63aa',
    500: '#202a86',
    950: '#000000',
  },
}
SCSS
$custom: #202a86;
$custom-light: #6c63aa;
$custom-dark: #000000;
JSON
{
  "hex": "#202a86",
  "rgb": {
    "r": 32,
    "g": 42,
    "b": 134
  },
  "hsl": {
    "h": 234.118,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34472,
    "c": 0.15185,
    "h": 270.9
  },
  "luminance": 0.03684
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #202A86

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

Preview Lab → · Contrast checker → · Palette generator →

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