#202C8D#202C8D

#202C8D is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.5% C 0.159 H 270.2°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#202C8D
RGBrgb(32, 44, 141)
HSLhsl(233, 63%, 34%)
HSVhsv(233, 77%, 55%)
CMYKcmyk(77.3%, 68.8%, 0%, 44.7%)
CIE-LABlab(23.77, 30.94, -54.93)
CIE-LCHlch(23.77, 63.04, 299.39°)
OKLaboklab(35.54% 0.0006 -0.1589)
OKLCHoklch(35.54% 0.159 270.2)
XYZxyz(6.3024, 4.0308, 25.6400)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202C8D #8D8120
analogous
#20638D #202C8D #4B208D
triadic
#202C8D #8D202C #2C8D20
tetradic
#202C8D #8D2063 #8D8120 #208D4B
square
#202C8D #8D2063 #8D8120 #208D4B
split-complementary
#202C8D #8D4B20 #638D20
monochromatic
#090D29 #151C5B #202C8D #2B3CBF #505FD7

Accessibility & contrast

On white

11.63
#202C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#202C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202C8D
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202C8D#FFFFFF#000000##FFFFFF
##202C8D1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#00338B
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #202c8d;
/* rgb */ color: rgb(32, 44, 141);
/* oklch */ color: oklch(35.5% 0.159 270.2);
Tailwind
colors: {
  custom: {
    50: '#6e65af',
    500: '#202c8d',
    950: '#000000',
  },
}
SCSS
$custom: #202c8d;
$custom-light: #6e65af;
$custom-dark: #000000;
JSON
{
  "hex": "#202c8d",
  "rgb": {
    "r": 32,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 233.394,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35537,
    "c": 0.15894,
    "h": 270.2
  },
  "luminance": 0.04032
}

Semantic roles & 50–950 ramp

primary
#202C8D
secondary
#BAAF4E
accent
#D442E6
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #202C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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