#202B8C#202B8C

#202B8C is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.3% C 0.159 H 270.4°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#202B8C
RGBrgb(32, 43, 140)
HSLhsl(234, 63%, 34%)
HSVhsv(234, 77%, 55%)
CMYKcmyk(77.1%, 69.3%, 0%, 45.1%)
CIE-LABlab(23.43, 31.22, -54.87)
CIE-LCHlch(23.43, 63.13, 299.64°)
OKLaboklab(35.26% 0.0012 -0.1588)
OKLCHoklch(35.26% 0.159 270.4)
XYZxyz(6.1916, 3.9276, 25.2377)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202B8C #8C8120
analogous
#20618C #202B8C #4B208C
triadic
#202B8C #8C202B #2B8C20
tetradic
#202B8C #8C2061 #8C8120 #208C4B
square
#202B8C #8C2061 #8C8120 #208C4B
split-complementary
#202B8C #8C4B20 #618C20
monochromatic
#090C28 #151C5A #202B8C #2B3ABE #505DD7

Accessibility & contrast

On white

11.76
#202B8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202B8C
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202B8C#FFFFFF#000000##FFFFFF
##202B8C1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8F
Deuteranopia (green-blind)
#00338A
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #202b8c;
/* rgb */ color: rgb(32, 43, 140);
/* oklch */ color: oklch(35.3% 0.159 270.4);
Tailwind
colors: {
  custom: {
    50: '#6e64af',
    500: '#202b8c',
    950: '#000000',
  },
}
SCSS
$custom: #202b8c;
$custom-light: #6e64af;
$custom-dark: #000000;
JSON
{
  "hex": "#202b8c",
  "rgb": {
    "r": 32,
    "g": 43,
    "b": 140
  },
  "hsl": {
    "h": 233.889,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35258,
    "c": 0.15877,
    "h": 270.4
  },
  "luminance": 0.03928
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #202B8C

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

Preview Lab → · Contrast checker → · Palette generator →

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