#202C8E#202C8E

#202C8E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.160 H 270.2°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#202C8E
RGBrgb(32, 44, 142)
HSLhsl(233, 63%, 34%)
HSVhsv(233, 77%, 56%)
CMYKcmyk(77.5%, 69%, 0%, 44.3%)
CIE-LABlab(23.87, 31.32, -55.39)
CIE-LCHlch(23.87, 63.63, 299.48°)
OKLaboklab(35.64% 0.0005 -0.1603)
OKLCHoklch(35.64% 0.16 270.2)
XYZxyz(6.3772, 4.0607, 26.0336)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202C8E #8E8220
analogous
#20638E #202C8E #4B208E
triadic
#202C8E #8E202C #2C8E20
tetradic
#202C8E #8E2063 #8E8220 #208E4B
square
#202C8E #8E2063 #8E8220 #208E4B
split-complementary
#202C8E #8E4B20 #638E20
monochromatic
#090D2A #151D5C #202C8E #2B3BC0 #515FD8

Accessibility & contrast

On white

11.59
#202C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202C8E
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202C8E#FFFFFF#000000##FFFFFF
##202C8E1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00348C
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #202c8e;
/* rgb */ color: rgb(32, 44, 142);
/* oklch */ color: oklch(35.6% 0.160 270.2);
Tailwind
colors: {
  custom: {
    50: '#6e65b0',
    500: '#202c8e',
    950: '#000000',
  },
}
SCSS
$custom: #202c8e;
$custom-light: #6e65b0;
$custom-dark: #000000;
JSON
{
  "hex": "#202c8e",
  "rgb": {
    "r": 32,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 233.455,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35638,
    "c": 0.16028,
    "h": 270.2
  },
  "luminance": 0.04061
}

Semantic roles & 50–950 ramp

primary
#202C8E
secondary
#BBAF4F
accent
#D442E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80

Preview Lab

Preview with #202C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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