#202D8C#202D8C

#202D8C is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.156 H 270.0°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#202D8C
RGBrgb(32, 45, 140)
HSLhsl(233, 63%, 34%)
HSVhsv(233, 77%, 55%)
CMYKcmyk(77.1%, 67.9%, 0%, 45.1%)
CIE-LABlab(23.92, 29.90, -54.06)
CIE-LCHlch(23.92, 61.78, 298.95°)
OKLaboklab(35.62% 0 -0.1564)
OKLCHoklch(35.62% 0.156 270)
XYZxyz(6.2661, 4.0766, 25.2625)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202D8C #8C7F20
analogous
#20638C #202D8C #49208C
triadic
#202D8C #8C202D #2D8C20
tetradic
#202D8C #8C2063 #8C7F20 #208C49
square
#202D8C #8C2063 #8C7F20 #208C49
split-complementary
#202D8C #8C4920 #638C20
monochromatic
#090D28 #151D5A #202D8C #2B3DBE #5060D7

Accessibility & contrast

On white

11.57
#202D8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#202D8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202D8C
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202D8C#FFFFFF#000000##FFFFFF
##202D8C1.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8F
Deuteranopia (green-blind)
#00348A
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #202d8c;
/* rgb */ color: rgb(32, 45, 140);
/* oklch */ color: oklch(35.6% 0.156 270.0);
Tailwind
colors: {
  custom: {
    50: '#6e66af',
    500: '#202d8c',
    950: '#000000',
  },
}
SCSS
$custom: #202d8c;
$custom-light: #6e66af;
$custom-dark: #000000;
JSON
{
  "hex": "#202d8c",
  "rgb": {
    "r": 32,
    "g": 45,
    "b": 140
  },
  "hsl": {
    "h": 232.778,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35617,
    "c": 0.1564,
    "h": 270
  },
  "luminance": 0.04077
}

Semantic roles & 50–950 ramp

primary
#202D8C
secondary
#BAAD4E
accent
#D242E6
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #202D8C

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

Preview Lab → · Contrast checker → · Palette generator →

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