#202B7A#202B7A

#202B7A is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.5% C 0.134 H 271.1°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#202B7A
RGBrgb(32, 43, 122)
HSLhsl(233, 58%, 30%)
HSVhsv(233, 74%, 48%)
CMYKcmyk(73.8%, 64.8%, 0%, 52.2%)
CIE-LABlab(21.72, 24.38, -46.35)
CIE-LCHlch(21.72, 52.37, 297.75°)
OKLaboklab(33.49% 0.0025 -0.1338)
OKLCHoklch(33.49% 0.134 271.1)
XYZxyz(4.9712, 3.4395, 18.8105)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202B7A #7A6F20
analogous
#20587A #202B7A #42207A
triadic
#202B7A #7A202B #2B7A20
tetradic
#202B7A #7A2058 #7A6F20 #207A42
square
#202B7A #7A2058 #7A6F20 #207A42
split-complementary
#202B7A #7A4220 #587A20
monochromatic
#070919 #131A4A #202B7A #2D3CAA #4657CE

Accessibility & contrast

On white

12.44
#202B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#202B7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202B7A
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202B7A#FFFFFF#000000##FFFFFF
##202B7A1.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387D
Deuteranopia (green-blind)
#003078
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #202b7a;
/* rgb */ color: rgb(32, 43, 122);
/* oklch */ color: oklch(33.5% 0.134 271.1);
Tailwind
colors: {
  custom: {
    50: '#6964a1',
    500: '#202b7a',
    950: '#000000',
  },
}
SCSS
$custom: #202b7a;
$custom-light: #6964a1;
$custom-dark: #000000;
JSON
{
  "hex": "#202b7a",
  "rgb": {
    "r": 32,
    "g": 43,
    "b": 122
  },
  "hsl": {
    "h": 232.667,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33486,
    "c": 0.13384,
    "h": 271.1
  },
  "luminance": 0.0344
}

Semantic roles & 50–950 ramp

primary
#202B7A
secondary
#ADA149
accent
#CF46E2
background
#F6F5FA
surface
#ECEAF3
border
#C7C6CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #202B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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