#202C7D#202C7D

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

Color values

HEX#202C7D
RGBrgb(32, 44, 125)
HSLhsl(232, 59%, 31%)
HSVhsv(232, 74%, 49%)
CMYKcmyk(74.4%, 64.8%, 0%, 51%)
CIE-LABlab(22.26, 24.85, -47.37)
CIE-LCHlch(22.26, 53.50, 297.68°)
OKLaboklab(33.97% 0.0016 -0.1368)
OKLCHoklch(33.97% 0.137 270.7)
XYZxyz(5.1968, 3.5886, 19.8168)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202C7D #7D7120
analogous
#205A7D #202C7D #42207D
triadic
#202C7D #7D202C #2C7D20
tetradic
#202C7D #7D205A #7D7120 #207D42
square
#202C7D #7D205A #7D7120 #207D42
split-complementary
#202C7D #7D4220 #5A7D20
monochromatic
#070A1C #141B4C #202C7D #2C3DAE #4759D0

Accessibility & contrast

On white

12.22
#202C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202C7D
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202C7D#FFFFFF#000000##FFFFFF
##202C7D1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #202c7d;
/* rgb */ color: rgb(32, 44, 125);
/* oklch */ color: oklch(34.0% 0.137 270.7);
Tailwind
colors: {
  custom: {
    50: '#6a65a3',
    500: '#202c7d',
    950: '#000000',
  },
}
SCSS
$custom: #202c7d;
$custom-light: #6a65a3;
$custom-dark: #000000;
JSON
{
  "hex": "#202c7d",
  "rgb": {
    "r": 32,
    "g": 44,
    "b": 125
  },
  "hsl": {
    "h": 232.258,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33967,
    "c": 0.13683,
    "h": 270.7
  },
  "luminance": 0.03589
}

Semantic roles & 50–950 ramp

primary
#202C7D
secondary
#B0A349
accent
#CE45E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #202C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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