#202D7F#202D7F

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

Color values

HEX#202D7F
RGBrgb(32, 45, 127)
HSLhsl(232, 60%, 31%)
HSVhsv(232, 75%, 50%)
CMYKcmyk(74.8%, 64.6%, 0%, 50.2%)
CIE-LABlab(22.71, 24.94, -47.91)
CIE-LCHlch(22.71, 54.01, 297.50°)
OKLaboklab(34.35% 0.0008 -0.1384)
OKLCHoklch(34.35% 0.138 270.3)
XYZxyz(5.3635, 3.7156, 20.5091)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202D7F #7F7220
analogous
#205C7F #202D7F #42207F
triadic
#202D7F #7F202D #2D7F20
tetradic
#202D7F #7F205C #7F7220 #207F42
square
#202D7F #7F205C #7F7220 #207F42
split-complementary
#202D7F #7F4220 #5C7F20
monochromatic
#070A1D #141C4E #202D7F #2C3EB0 #485BD1

Accessibility & contrast

On white

12.05
#202D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202D7F
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202D7F#FFFFFF#000000##FFFFFF
##202D7F1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #202d7f;
/* rgb */ color: rgb(32, 45, 127);
/* oklch */ color: oklch(34.4% 0.138 270.3);
Tailwind
colors: {
  custom: {
    50: '#6a65a5',
    500: '#202d7f',
    950: '#000000',
  },
}
SCSS
$custom: #202d7f;
$custom-light: #6a65a5;
$custom-dark: #000000;
JSON
{
  "hex": "#202d7f",
  "rgb": {
    "r": 32,
    "g": 45,
    "b": 127
  },
  "hsl": {
    "h": 231.789,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34352,
    "c": 0.13838,
    "h": 270.3
  },
  "luminance": 0.03716
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #202D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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