#202D7E#202D7E

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

Color values

HEX#202D7E
RGBrgb(32, 45, 126)
HSLhsl(232, 59%, 31%)
HSVhsv(232, 75%, 49%)
CMYKcmyk(74.6%, 64.3%, 0%, 50.6%)
CIE-LABlab(22.62, 24.55, -47.42)
CIE-LCHlch(22.62, 53.40, 297.37°)
OKLaboklab(34.26% 0.0008 -0.137)
OKLCHoklch(34.26% 0.137 270.3)
XYZxyz(5.2987, 3.6897, 20.1675)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202D7E #7E7120
analogous
#205C7E #202D7E #42207E
triadic
#202D7E #7E202D #2D7E20
tetradic
#202D7E #7E205C #7E7120 #207E42
square
#202D7E #7E205C #7E7120 #207E42
split-complementary
#202D7E #7E4220 #5C7E20
monochromatic
#070A1C #141C4D #202D7E #2C3EAF #485BD0

Accessibility & contrast

On white

12.08
#202D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#202D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202D7E
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202D7E#FFFFFF#000000##FFFFFF
##202D7E1.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#00327C
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #202d7e;
/* rgb */ color: rgb(32, 45, 126);
/* oklch */ color: oklch(34.3% 0.137 270.3);
Tailwind
colors: {
  custom: {
    50: '#6a65a4',
    500: '#202d7e',
    950: '#000000',
  },
}
SCSS
$custom: #202d7e;
$custom-light: #6a65a4;
$custom-dark: #000000;
JSON
{
  "hex": "#202d7e",
  "rgb": {
    "r": 32,
    "g": 45,
    "b": 126
  },
  "hsl": {
    "h": 231.702,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34257,
    "c": 0.13696,
    "h": 270.3
  },
  "luminance": 0.0369
}

Semantic roles & 50–950 ramp

primary
#202D7E
secondary
#B1A349
accent
#CD45E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #202D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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