#202C8C#202C8C

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

Color values

HEX#202C8C
RGBrgb(32, 44, 140)
HSLhsl(233, 63%, 34%)
HSVhsv(233, 77%, 55%)
CMYKcmyk(77.1%, 68.6%, 0%, 45.1%)
CIE-LABlab(23.68, 30.57, -54.47)
CIE-LCHlch(23.68, 62.46, 299.30°)
OKLaboklab(35.44% 0.0006 -0.1576)
OKLCHoklch(35.44% 0.158 270.2)
XYZxyz(6.2284, 4.0012, 25.2499)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202C8C #8C8020
analogous
#20628C #202C8C #4A208C
triadic
#202C8C #8C202C #2C8C20
tetradic
#202C8C #8C2062 #8C8020 #208C4A
square
#202C8C #8C2062 #8C8020 #208C4A
split-complementary
#202C8C #8C4A20 #628C20
monochromatic
#090D28 #151C5A #202C8C #2B3CBE #505FD7

Accessibility & contrast

On white

11.66
#202C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#202C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202C8C
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202C8C#FFFFFF#000000##FFFFFF
##202C8C1.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8F
Deuteranopia (green-blind)
#00338A
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #202c8c;
/* rgb */ color: rgb(32, 44, 140);
/* oklch */ color: oklch(35.4% 0.158 270.2);
Tailwind
colors: {
  custom: {
    50: '#6e65af',
    500: '#202c8c',
    950: '#000000',
  },
}
SCSS
$custom: #202c8c;
$custom-light: #6e65af;
$custom-dark: #000000;
JSON
{
  "hex": "#202c8c",
  "rgb": {
    "r": 32,
    "g": 44,
    "b": 140
  },
  "hsl": {
    "h": 233.333,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35436,
    "c": 0.15759,
    "h": 270.2
  },
  "luminance": 0.04002
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #202C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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