#202C7A#202C7A

#202C7A is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.7% C 0.133 H 270.7°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#202C7A
RGBrgb(32, 44, 122)
HSLhsl(232, 58%, 30%)
HSVhsv(232, 74%, 48%)
CMYKcmyk(73.8%, 63.9%, 0%, 52.2%)
CIE-LABlab(21.99, 23.69, -45.91)
CIE-LCHlch(21.99, 51.66, 297.29°)
OKLaboklab(33.68% 0.0017 -0.1325)
OKLCHoklch(33.68% 0.133 270.7)
XYZxyz(5.0080, 3.5131, 18.8227)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202C7A #7A6E20
analogous
#20597A #202C7A #41207A
triadic
#202C7A #7A202C #2C7A20
tetradic
#202C7A #7A2059 #7A6E20 #207A41
square
#202C7A #7A2059 #7A6E20 #207A41
split-complementary
#202C7A #7A4120 #597A20
monochromatic
#070919 #131B4A #202C7A #2D3DAA #4658CE

Accessibility & contrast

On white

12.33
#202C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#202C7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202C7A
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202C7A#FFFFFF#000000##FFFFFF
##202C7A1.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397D
Deuteranopia (green-blind)
#003178
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #202c7a;
/* rgb */ color: rgb(32, 44, 122);
/* oklch */ color: oklch(33.7% 0.133 270.7);
Tailwind
colors: {
  custom: {
    50: '#6965a1',
    500: '#202c7a',
    950: '#000000',
  },
}
SCSS
$custom: #202c7a;
$custom-light: #6965a1;
$custom-dark: #000000;
JSON
{
  "hex": "#202c7a",
  "rgb": {
    "r": 32,
    "g": 44,
    "b": 122
  },
  "hsl": {
    "h": 232,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33684,
    "c": 0.13254,
    "h": 270.7
  },
  "luminance": 0.03514
}

Semantic roles & 50–950 ramp

primary
#202C7A
secondary
#ADA049
accent
#CD46E2
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #202C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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