#202B7B#202B7B

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

Color values

HEX#202B7B
RGBrgb(32, 43, 123)
HSLhsl(233, 59%, 30%)
HSVhsv(233, 74%, 48%)
CMYKcmyk(74%, 65%, 0%, 51.8%)
CIE-LABlab(21.82, 24.77, -46.83)
CIE-LCHlch(21.82, 52.98, 297.87°)
OKLaboklab(33.58% 0.0024 -0.1352)
OKLCHoklch(33.58% 0.135 271)
XYZxyz(5.0335, 3.4644, 19.1385)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202B7B #7B7020
analogous
#20587B #202B7B #42207B
triadic
#202B7B #7B202B #2B7B20
tetradic
#202B7B #7B2058 #7B7020 #207B42
square
#202B7B #7B2058 #7B7020 #207B42
split-complementary
#202B7B #7B4220 #587B20
monochromatic
#07091A #131A4A #202B7B #2D3CAC #4657CF

Accessibility & contrast

On white

12.40
#202B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202B7B
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202B7B#FFFFFF#000000##FFFFFF
##202B7B1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397E
Deuteranopia (green-blind)
#003079
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #202b7b;
/* rgb */ color: rgb(32, 43, 123);
/* oklch */ color: oklch(33.6% 0.135 271.0);
Tailwind
colors: {
  custom: {
    50: '#6a64a2',
    500: '#202b7b',
    950: '#000000',
  },
}
SCSS
$custom: #202b7b;
$custom-light: #6a64a2;
$custom-dark: #000000;
JSON
{
  "hex": "#202b7b",
  "rgb": {
    "r": 32,
    "g": 43,
    "b": 123
  },
  "hsl": {
    "h": 232.747,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33581,
    "c": 0.13527,
    "h": 271
  },
  "luminance": 0.03465
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #202B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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