#202B7E#202B7E

#202B7E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.9% C 0.140 H 270.9°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#202B7E
RGBrgb(32, 43, 126)
HSLhsl(233, 59%, 31%)
HSVhsv(233, 75%, 49%)
CMYKcmyk(74.6%, 65.9%, 0%, 50.6%)
CIE-LABlab(22.09, 25.92, -48.29)
CIE-LCHlch(22.09, 54.80, 298.23°)
OKLaboklab(33.87% 0.0023 -0.1395)
OKLCHoklch(33.87% 0.14 270.9)
XYZxyz(5.2242, 3.5407, 20.1427)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202B7E #7E7320
analogous
#205A7E #202B7E #44207E
triadic
#202B7E #7E202B #2B7E20
tetradic
#202B7E #7E205A #7E7320 #207E44
square
#202B7E #7E205A #7E7320 #207E44
split-complementary
#202B7E #7E4420 #5A7E20
monochromatic
#070A1C #141A4D #202B7E #2C3CAF #4858D0

Accessibility & contrast

On white

12.29
#202B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#202B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202B7E
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202B7E#FFFFFF#000000##FFFFFF
##202B7E1.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#00317C
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #202b7e;
/* rgb */ color: rgb(32, 43, 126);
/* oklch */ color: oklch(33.9% 0.140 270.9);
Tailwind
colors: {
  custom: {
    50: '#6a64a4',
    500: '#202b7e',
    950: '#000000',
  },
}
SCSS
$custom: #202b7e;
$custom-light: #6a64a4;
$custom-dark: #000000;
JSON
{
  "hex": "#202b7e",
  "rgb": {
    "r": 32,
    "g": 43,
    "b": 126
  },
  "hsl": {
    "h": 232.979,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33869,
    "c": 0.13952,
    "h": 270.9
  },
  "luminance": 0.03541
}

Semantic roles & 50–950 ramp

primary
#202B7E
secondary
#B1A549
accent
#D045E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #202B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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