#202C7E#202C7E

#202C7E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.1% C 0.138 H 270.6°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#202C7E
RGBrgb(32, 44, 126)
HSLhsl(232, 59%, 31%)
HSVhsv(232, 75%, 49%)
CMYKcmyk(74.6%, 65.1%, 0%, 50.6%)
CIE-LABlab(22.35, 25.24, -47.86)
CIE-LCHlch(22.35, 54.10, 297.81°)
OKLaboklab(34.06% 0.0015 -0.1382)
OKLCHoklch(34.06% 0.138 270.6)
XYZxyz(5.2610, 3.6143, 20.1550)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202C7E #7E7220
analogous
#205B7E #202C7E #43207E
triadic
#202C7E #7E202C #2C7E20
tetradic
#202C7E #7E205B #7E7220 #207E43
square
#202C7E #7E205B #7E7220 #207E43
split-complementary
#202C7E #7E4320 #5B7E20
monochromatic
#070A1C #141B4D #202C7E #2C3DAF #4859D0

Accessibility & contrast

On white

12.19
#202C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#202C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202C7E
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202C7E#FFFFFF#000000##FFFFFF
##202C7E1.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#00317C
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #202c7e;
/* rgb */ color: rgb(32, 44, 126);
/* oklch */ color: oklch(34.1% 0.138 270.6);
Tailwind
colors: {
  custom: {
    50: '#6a65a4',
    500: '#202c7e',
    950: '#000000',
  },
}
SCSS
$custom: #202c7e;
$custom-light: #6a65a4;
$custom-dark: #000000;
JSON
{
  "hex": "#202c7e",
  "rgb": {
    "r": 32,
    "g": 44,
    "b": 126
  },
  "hsl": {
    "h": 232.34,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34062,
    "c": 0.13825,
    "h": 270.6
  },
  "luminance": 0.03615
}

Semantic roles & 50–950 ramp

primary
#202C7E
secondary
#B1A449
accent
#CF45E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #202C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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