#202C7C#202C7C

#202C7C is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.9% C 0.135 H 270.7°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#202C7C
RGBrgb(32, 44, 124)
HSLhsl(232, 59%, 31%)
HSVhsv(232, 74%, 49%)
CMYKcmyk(74.2%, 64.5%, 0%, 51.4%)
CIE-LABlab(22.17, 24.46, -46.89)
CIE-LCHlch(22.17, 52.89, 297.55°)
OKLaboklab(33.87% 0.0016 -0.1354)
OKLCHoklch(33.87% 0.135 270.7)
XYZxyz(5.1332, 3.5632, 19.4821)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202C7C #7C7020
analogous
#205A7C #202C7C #42207C
triadic
#202C7C #7C202C #2C7C20
tetradic
#202C7C #7C205A #7C7020 #207C42
square
#202C7C #7C205A #7C7020 #207C42
split-complementary
#202C7C #7C4220 #5A7C20
monochromatic
#07091B #131B4B #202C7C #2D3DAD #4759CF

Accessibility & contrast

On white

12.26
#202C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#202C7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202C7C
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202C7C#FFFFFF#000000##FFFFFF
##202C7C1.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397F
Deuteranopia (green-blind)
#00317A
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #202c7c;
/* rgb */ color: rgb(32, 44, 124);
/* oklch */ color: oklch(33.9% 0.135 270.7);
Tailwind
colors: {
  custom: {
    50: '#6a65a3',
    500: '#202c7c',
    950: '#000000',
  },
}
SCSS
$custom: #202c7c;
$custom-light: #6a65a3;
$custom-dark: #000000;
JSON
{
  "hex": "#202c7c",
  "rgb": {
    "r": 32,
    "g": 44,
    "b": 124
  },
  "hsl": {
    "h": 232.174,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33872,
    "c": 0.1354,
    "h": 270.7
  },
  "luminance": 0.03564
}

Semantic roles & 50–950 ramp

primary
#202C7C
secondary
#AFA249
accent
#CE46E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #202C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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