#202D7B#202D7B

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

Color values

HEX#202D7B
RGBrgb(32, 45, 123)
HSLhsl(231, 59%, 30%)
HSVhsv(231, 74%, 48%)
CMYKcmyk(74%, 63.4%, 0%, 51.8%)
CIE-LABlab(22.35, 23.39, -45.96)
CIE-LCHlch(22.35, 51.57, 296.97°)
OKLaboklab(33.98% 0.0009 -0.1327)
OKLCHoklch(33.98% 0.133 270.4)
XYZxyz(5.1080, 3.6134, 19.1633)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202D7B #7B6E20
analogous
#205A7B #202D7B #41207B
triadic
#202D7B #7B202D #2D7B20
tetradic
#202D7B #7B205A #7B6E20 #207B41
square
#202D7B #7B205A #7B6E20 #207B41
split-complementary
#202D7B #7B4120 #5A7B20
monochromatic
#07091A #131B4A #202D7B #2D3FAC #465ACF

Accessibility & contrast

On white

12.19
#202D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202D7B
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202D7B#FFFFFF#000000##FFFFFF
##202D7B1.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7E
Deuteranopia (green-blind)
#003179
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #202d7b;
/* rgb */ color: rgb(32, 45, 123);
/* oklch */ color: oklch(34.0% 0.133 270.4);
Tailwind
colors: {
  custom: {
    50: '#6965a2',
    500: '#202d7b',
    950: '#000000',
  },
}
SCSS
$custom: #202d7b;
$custom-light: #6965a2;
$custom-dark: #000000;
JSON
{
  "hex": "#202d7b",
  "rgb": {
    "r": 32,
    "g": 45,
    "b": 123
  },
  "hsl": {
    "h": 231.429,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33976,
    "c": 0.13267,
    "h": 270.4
  },
  "luminance": 0.03614
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #202D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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