#202B8B#202B8B

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

Color values

HEX#202B8B
RGBrgb(32, 43, 139)
HSLhsl(234, 63%, 34%)
HSVhsv(234, 77%, 55%)
CMYKcmyk(77%, 69.1%, 0%, 45.5%)
CIE-LABlab(23.33, 30.85, -54.41)
CIE-LCHlch(23.33, 62.55, 299.55°)
OKLaboklab(35.16% 0.0013 -0.1574)
OKLCHoklch(35.16% 0.157 270.5)
XYZxyz(6.1182, 3.8983, 24.8511)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202B8B #8B8020
analogous
#20608B #202B8B #4A208B
triadic
#202B8B #8B202B #2B8B20
tetradic
#202B8B #8B2060 #8B8020 #208B4A
square
#202B8B #8B2060 #8B8020 #208B4A
split-complementary
#202B8B #8B4A20 #608B20
monochromatic
#090C28 #151C59 #202B8B #2B3ABD #4F5DD6

Accessibility & contrast

On white

11.80
#202B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#202B8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202B8B
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202B8B#FFFFFF#000000##FFFFFF
##202B8B1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8E
Deuteranopia (green-blind)
#003389
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #202b8b;
/* rgb */ color: rgb(32, 43, 139);
/* oklch */ color: oklch(35.2% 0.157 270.5);
Tailwind
colors: {
  custom: {
    50: '#6e64ae',
    500: '#202b8b',
    950: '#000000',
  },
}
SCSS
$custom: #202b8b;
$custom-light: #6e64ae;
$custom-dark: #000000;
JSON
{
  "hex": "#202b8b",
  "rgb": {
    "r": 32,
    "g": 43,
    "b": 139
  },
  "hsl": {
    "h": 233.832,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35157,
    "c": 0.15743,
    "h": 270.5
  },
  "luminance": 0.03899
}

Semantic roles & 50–950 ramp

primary
#202B8B
secondary
#BAAE4D
accent
#D542E6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #202B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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