#202B8D#202B8D

#202B8D is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.160 H 270.4°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#202B8D
RGBrgb(32, 43, 141)
HSLhsl(234, 63%, 34%)
HSVhsv(234, 77%, 55%)
CMYKcmyk(77.3%, 69.5%, 0%, 44.7%)
CIE-LABlab(23.53, 31.60, -55.33)
CIE-LCHlch(23.53, 63.72, 299.73°)
OKLaboklab(35.36% 0.0011 -0.1601)
OKLCHoklch(35.36% 0.16 270.4)
XYZxyz(6.2656, 3.9572, 25.6277)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202B8D #8D8220
analogous
#20628D #202B8D #4C208D
triadic
#202B8D #8D202B #2B8D20
tetradic
#202B8D #8D2062 #8D8220 #208D4C
square
#202B8D #8D2062 #8D8220 #208D4C
split-complementary
#202B8D #8D4C20 #628D20
monochromatic
#090D29 #151C5B #202B8D #2B3ABF #505ED7

Accessibility & contrast

On white

11.72
#202B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#202B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202B8D
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202B8D#FFFFFF#000000##FFFFFF
##202B8D1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#00338B
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #202b8d;
/* rgb */ color: rgb(32, 43, 141);
/* oklch */ color: oklch(35.4% 0.160 270.4);
Tailwind
colors: {
  custom: {
    50: '#6e64af',
    500: '#202b8d',
    950: '#000000',
  },
}
SCSS
$custom: #202b8d;
$custom-light: #6e64af;
$custom-dark: #000000;
JSON
{
  "hex": "#202b8d",
  "rgb": {
    "r": 32,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 233.945,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3536,
    "c": 0.16011,
    "h": 270.4
  },
  "luminance": 0.03958
}

Semantic roles & 50–950 ramp

primary
#202B8D
secondary
#BAB04E
accent
#D542E6
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #202B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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