#202B8E#202B8E

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

Color values

HEX#202B8E
RGBrgb(32, 43, 142)
HSLhsl(234, 63%, 34%)
HSVhsv(234, 77%, 56%)
CMYKcmyk(77.5%, 69.7%, 0%, 44.3%)
CIE-LABlab(23.63, 31.97, -55.79)
CIE-LCHlch(23.63, 64.30, 299.81°)
OKLaboklab(35.46% 0.001 -0.1614)
OKLCHoklch(35.46% 0.161 270.4)
XYZxyz(6.3404, 3.9871, 26.0214)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202B8E #8E8320
analogous
#20628E #202B8E #4C208E
triadic
#202B8E #8E202B #2B8E20
tetradic
#202B8E #8E2062 #8E8320 #208E4C
square
#202B8E #8E2062 #8E8320 #208E4C
split-complementary
#202B8E #8E4C20 #628E20
monochromatic
#090D2A #151C5C #202B8E #2B3AC0 #515ED8

Accessibility & contrast

On white

11.68
#202B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#202B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202B8E
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202B8E#FFFFFF#000000##FFFFFF
##202B8E1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00338C
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #202b8e;
/* rgb */ color: rgb(32, 43, 142);
/* oklch */ color: oklch(35.5% 0.161 270.4);
Tailwind
colors: {
  custom: {
    50: '#6e64b0',
    500: '#202b8e',
    950: '#000000',
  },
}
SCSS
$custom: #202b8e;
$custom-light: #6e64b0;
$custom-dark: #000000;
JSON
{
  "hex": "#202b8e",
  "rgb": {
    "r": 32,
    "g": 43,
    "b": 142
  },
  "hsl": {
    "h": 234,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35462,
    "c": 0.16145,
    "h": 270.4
  },
  "luminance": 0.03988
}

Semantic roles & 50–950 ramp

primary
#202B8E
secondary
#BBB04F
accent
#D642E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80

Preview Lab

Preview with #202B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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