#202C8F#202C8F

#202C8F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.162 H 270.1°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#202C8F
RGBrgb(32, 44, 143)
HSLhsl(234, 63%, 34%)
HSVhsv(234, 78%, 56%)
CMYKcmyk(77.6%, 69.2%, 0%, 43.9%)
CIE-LABlab(23.97, 31.69, -55.85)
CIE-LCHlch(23.97, 64.21, 299.57°)
OKLaboklab(35.74% 0.0004 -0.1616)
OKLCHoklch(35.74% 0.162 270.1)
XYZxyz(6.4526, 4.0909, 26.4308)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202C8F #8F8320
analogous
#20638F #202C8F #4C208F
triadic
#202C8F #8F202C #2C8F20
tetradic
#202C8F #8F2063 #8F8320 #208F4C
square
#202C8F #8F2063 #8F8320 #208F4C
split-complementary
#202C8F #8F4C20 #638F20
monochromatic
#0A0D2B #151D5D #202C8F #2B3BC1 #5160D8

Accessibility & contrast

On white

11.55
#202C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202C8F
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202C8F#FFFFFF#000000##FFFFFF
##202C8F1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00348D
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #202c8f;
/* rgb */ color: rgb(32, 44, 143);
/* oklch */ color: oklch(35.7% 0.162 270.1);
Tailwind
colors: {
  custom: {
    50: '#6f65b1',
    500: '#202c8f',
    950: '#000000',
  },
}
SCSS
$custom: #202c8f;
$custom-light: #6f65b1;
$custom-dark: #000000;
JSON
{
  "hex": "#202c8f",
  "rgb": {
    "r": 32,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 233.514,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3574,
    "c": 0.16162,
    "h": 270.1
  },
  "luminance": 0.04092
}

Semantic roles & 50–950 ramp

primary
#202C8F
secondary
#BBB04F
accent
#D541E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80

Preview Lab

Preview with #202C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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