#202B8F#202B8F

#202B8F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.6% C 0.163 H 270.3°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#202B8F
RGBrgb(32, 43, 143)
HSLhsl(234, 63%, 34%)
HSVhsv(234, 78%, 56%)
CMYKcmyk(77.6%, 69.9%, 0%, 43.9%)
CIE-LABlab(23.73, 32.34, -56.24)
CIE-LCHlch(23.73, 64.88, 299.90°)
OKLaboklab(35.57% 0.0009 -0.1628)
OKLCHoklch(35.57% 0.163 270.3)
XYZxyz(6.4158, 4.0173, 26.4186)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202B8F #8F8420
analogous
#20638F #202B8F #4D208F
triadic
#202B8F #8F202B #2B8F20
tetradic
#202B8F #8F2063 #8F8420 #208F4D
square
#202B8F #8F2063 #8F8420 #208F4D
split-complementary
#202B8F #8F4D20 #638F20
monochromatic
#0A0D2B #151C5D #202B8F #2B3AC1 #515FD8

Accessibility & contrast

On white

11.64
#202B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202B8F
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202B8F#FFFFFF#000000##FFFFFF
##202B8F1.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #202b8f;
/* rgb */ color: rgb(32, 43, 143);
/* oklch */ color: oklch(35.6% 0.163 270.3);
Tailwind
colors: {
  custom: {
    50: '#6f64b1',
    500: '#202b8f',
    950: '#000000',
  },
}
SCSS
$custom: #202b8f;
$custom-light: #6f64b1;
$custom-dark: #000000;
JSON
{
  "hex": "#202b8f",
  "rgb": {
    "r": 32,
    "g": 43,
    "b": 143
  },
  "hsl": {
    "h": 234.054,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35565,
    "c": 0.16278,
    "h": 270.3
  },
  "luminance": 0.04018
}

Semantic roles & 50–950 ramp

primary
#202B8F
secondary
#BBB14F
accent
#D641E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80

Preview Lab

Preview with #202B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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