#202B8A#202B8A

#202B8A is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.1% C 0.156 H 270.5°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#202B8A
RGBrgb(32, 43, 138)
HSLhsl(234, 62%, 33%)
HSVhsv(234, 77%, 54%)
CMYKcmyk(76.8%, 68.8%, 0%, 45.9%)
CIE-LABlab(23.23, 30.47, -53.95)
CIE-LCHlch(23.23, 61.96, 299.46°)
OKLaboklab(35.06% 0.0014 -0.1561)
OKLCHoklch(35.06% 0.156 270.5)
XYZxyz(6.0454, 3.8692, 24.4680)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202B8A #8A7F20
analogous
#20608A #202B8A #4A208A
triadic
#202B8A #8A202B #2B8A20
tetradic
#202B8A #8A2060 #8A7F20 #208A4A
square
#202B8A #8A2060 #8A7F20 #208A4A
split-complementary
#202B8A #8A4A20 #608A20
monochromatic
#090C27 #141C58 #202B8A #2C3ABC #4E5CD6

Accessibility & contrast

On white

11.84
#202B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#202B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202B8A
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202B8A#FFFFFF#000000##FFFFFF
##202B8A1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8D
Deuteranopia (green-blind)
#003288
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #202b8a;
/* rgb */ color: rgb(32, 43, 138);
/* oklch */ color: oklch(35.1% 0.156 270.5);
Tailwind
colors: {
  custom: {
    50: '#6d64ad',
    500: '#202b8a',
    950: '#000000',
  },
}
SCSS
$custom: #202b8a;
$custom-light: #6d64ad;
$custom-dark: #000000;
JSON
{
  "hex": "#202b8a",
  "rgb": {
    "r": 32,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 233.774,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35055,
    "c": 0.15608,
    "h": 270.5
  },
  "luminance": 0.0387
}

Semantic roles & 50–950 ramp

primary
#202B8A
secondary
#B9AE4D
accent
#D542E5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #202B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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