#202B7F#202B7F

#202B7F is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.0% C 0.141 H 270.9°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#202B7F
RGBrgb(32, 43, 127)
HSLhsl(233, 60%, 31%)
HSVhsv(233, 75%, 50%)
CMYKcmyk(74.8%, 66.1%, 0%, 50.2%)
CIE-LABlab(22.18, 26.31, -48.77)
CIE-LCHlch(22.18, 55.41, 298.34°)
OKLaboklab(33.97% 0.0022 -0.1409)
OKLCHoklch(33.97% 0.141 270.9)
XYZxyz(5.2890, 3.5666, 20.4842)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202B7F #7F7420
analogous
#205A7F #202B7F #44207F
triadic
#202B7F #7F202B #2B7F20
tetradic
#202B7F #7F205A #7F7420 #207F44
square
#202B7F #7F205A #7F7420 #207F44
split-complementary
#202B7F #7F4420 #5A7F20
monochromatic
#070A1D #141A4E #202B7F #2C3CB0 #4858D1

Accessibility & contrast

On white

12.26
#202B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202B7F
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202B7F#FFFFFF#000000##FFFFFF
##202B7F1.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A82
Deuteranopia (green-blind)
#00317D
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #202b7f;
/* rgb */ color: rgb(32, 43, 127);
/* oklch */ color: oklch(34.0% 0.141 270.9);
Tailwind
colors: {
  custom: {
    50: '#6b64a5',
    500: '#202b7f',
    950: '#000000',
  },
}
SCSS
$custom: #202b7f;
$custom-light: #6b64a5;
$custom-dark: #000000;
JSON
{
  "hex": "#202b7f",
  "rgb": {
    "r": 32,
    "g": 43,
    "b": 127
  },
  "hsl": {
    "h": 233.053,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33966,
    "c": 0.14093,
    "h": 270.9
  },
  "luminance": 0.03567
}

Semantic roles & 50–950 ramp

primary
#202B7F
secondary
#B2A649
accent
#D145E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #202B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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