#202B7D#202B7D

#202B7D is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.138 H 271.0°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#202B7D
RGBrgb(32, 43, 125)
HSLhsl(233, 59%, 31%)
HSVhsv(233, 74%, 49%)
CMYKcmyk(74.4%, 65.6%, 0%, 51%)
CIE-LABlab(22.00, 25.54, -47.80)
CIE-LCHlch(22.00, 54.20, 298.11°)
OKLaboklab(33.77% 0.0023 -0.1381)
OKLCHoklch(33.77% 0.138 271)
XYZxyz(5.1600, 3.5150, 19.8046)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202B7D #7D7220
analogous
#20597D #202B7D #43207D
triadic
#202B7D #7D202B #2B7D20
tetradic
#202B7D #7D2059 #7D7220 #207D43
square
#202B7D #7D2059 #7D7220 #207D43
split-complementary
#202B7D #7D4320 #597D20
monochromatic
#07091C #141A4C #202B7D #2C3CAE #4758D0

Accessibility & contrast

On white

12.33
#202B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#202B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202B7D
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202B7D#FFFFFF#000000##FFFFFF
##202B7D1.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003980
Deuteranopia (green-blind)
#00307B
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #202b7d;
/* rgb */ color: rgb(32, 43, 125);
/* oklch */ color: oklch(33.8% 0.138 271.0);
Tailwind
colors: {
  custom: {
    50: '#6a64a3',
    500: '#202b7d',
    950: '#000000',
  },
}
SCSS
$custom: #202b7d;
$custom-light: #6a64a3;
$custom-dark: #000000;
JSON
{
  "hex": "#202b7d",
  "rgb": {
    "r": 32,
    "g": 43,
    "b": 125
  },
  "hsl": {
    "h": 232.903,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33773,
    "c": 0.13811,
    "h": 271
  },
  "luminance": 0.03515
}

Semantic roles & 50–950 ramp

primary
#202B7D
secondary
#B0A449
accent
#D045E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #202B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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