#202D7C#202D7C

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

Color values

HEX#202D7C
RGBrgb(32, 45, 124)
HSLhsl(232, 59%, 31%)
HSVhsv(232, 74%, 49%)
CMYKcmyk(74.2%, 63.7%, 0%, 51.4%)
CIE-LABlab(22.44, 23.77, -46.45)
CIE-LCHlch(22.44, 52.18, 297.10°)
OKLaboklab(34.07% 0.0009 -0.1341)
OKLCHoklch(34.07% 0.134 270.4)
XYZxyz(5.1709, 3.6386, 19.4947)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202D7C #7C6F20
analogous
#205B7C #202D7C #41207C
triadic
#202D7C #7C202D #2D7C20
tetradic
#202D7C #7C205B #7C6F20 #207C41
square
#202D7C #7C205B #7C6F20 #207C41
split-complementary
#202D7C #7C4120 #5B7C20
monochromatic
#070A1B #131B4B #202D7C #2D3FAD #475ACF

Accessibility & contrast

On white

12.15
#202D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202D7C
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202D7C#FFFFFF#000000##FFFFFF
##202D7C1.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#00317A
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #202d7c;
/* rgb */ color: rgb(32, 45, 124);
/* oklch */ color: oklch(34.1% 0.134 270.4);
Tailwind
colors: {
  custom: {
    50: '#6a65a3',
    500: '#202d7c',
    950: '#000000',
  },
}
SCSS
$custom: #202d7c;
$custom-light: #6a65a3;
$custom-dark: #000000;
JSON
{
  "hex": "#202d7c",
  "rgb": {
    "r": 32,
    "g": 45,
    "b": 124
  },
  "hsl": {
    "h": 231.522,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34069,
    "c": 0.1341,
    "h": 270.4
  },
  "luminance": 0.03639
}

Semantic roles & 50–950 ramp

primary
#202D7C
secondary
#AFA149
accent
#CC46E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #202D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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