#202B7C#202B7C

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

Color values

HEX#202B7C
RGBrgb(32, 43, 124)
HSLhsl(233, 59%, 31%)
HSVhsv(233, 74%, 49%)
CMYKcmyk(74.2%, 65.3%, 0%, 51.4%)
CIE-LABlab(21.91, 25.15, -47.32)
CIE-LCHlch(21.91, 53.59, 297.99°)
OKLaboklab(33.68% 0.0024 -0.1367)
OKLCHoklch(33.68% 0.137 271)
XYZxyz(5.0964, 3.4896, 19.4698)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202B7C #7C7120
analogous
#20597C #202B7C #43207C
triadic
#202B7C #7C202B #2B7C20
tetradic
#202B7C #7C2059 #7C7120 #207C43
square
#202B7C #7C2059 #7C7120 #207C43
split-complementary
#202B7C #7C4320 #597C20
monochromatic
#07091B #131A4B #202B7C #2D3CAD #4757CF

Accessibility & contrast

On white

12.37
#202B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202B7C
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202B7C#FFFFFF#000000##FFFFFF
##202B7C1.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397F
Deuteranopia (green-blind)
#00307A
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #202b7c;
/* rgb */ color: rgb(32, 43, 124);
/* oklch */ color: oklch(33.7% 0.137 271.0);
Tailwind
colors: {
  custom: {
    50: '#6a64a3',
    500: '#202b7c',
    950: '#000000',
  },
}
SCSS
$custom: #202b7c;
$custom-light: #6a64a3;
$custom-dark: #000000;
JSON
{
  "hex": "#202b7c",
  "rgb": {
    "r": 32,
    "g": 43,
    "b": 124
  },
  "hsl": {
    "h": 232.826,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33677,
    "c": 0.13669,
    "h": 271
  },
  "luminance": 0.0349
}

Semantic roles & 50–950 ramp

primary
#202B7C
secondary
#AFA349
accent
#CF46E2
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #202B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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