#202D7D#202D7D

#202D7D is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.2% C 0.136 H 270.3°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#202D7D
RGBrgb(32, 45, 125)
HSLhsl(232, 59%, 31%)
HSVhsv(232, 74%, 49%)
CMYKcmyk(74.4%, 64%, 0%, 51%)
CIE-LABlab(22.53, 24.16, -46.94)
CIE-LCHlch(22.53, 52.79, 297.24°)
OKLaboklab(34.16% 0.0008 -0.1355)
OKLCHoklch(34.16% 0.136 270.3)
XYZxyz(5.2345, 3.6640, 19.8294)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202D7D #7D7020
analogous
#205B7D #202D7D #41207D
triadic
#202D7D #7D202D #2D7D20
tetradic
#202D7D #7D205B #7D7020 #207D41
square
#202D7D #7D205B #7D7020 #207D41
split-complementary
#202D7D #7D4120 #5B7D20
monochromatic
#070A1C #141B4C #202D7D #2C3FAE #475AD0

Accessibility & contrast

On white

12.12
#202D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#202D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202D7D
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202D7D#FFFFFF#000000##FFFFFF
##202D7D1.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #202d7d;
/* rgb */ color: rgb(32, 45, 125);
/* oklch */ color: oklch(34.2% 0.136 270.3);
Tailwind
colors: {
  custom: {
    50: '#6a65a3',
    500: '#202d7d',
    950: '#000000',
  },
}
SCSS
$custom: #202d7d;
$custom-light: #6a65a3;
$custom-dark: #000000;
JSON
{
  "hex": "#202d7d",
  "rgb": {
    "r": 32,
    "g": 45,
    "b": 125
  },
  "hsl": {
    "h": 231.613,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34163,
    "c": 0.13553,
    "h": 270.3
  },
  "luminance": 0.03665
}

Semantic roles & 50–950 ramp

primary
#202D7D
secondary
#B0A249
accent
#CC45E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #202D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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