#202C8B#202C8B

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

Color values

HEX#202C8B
RGBrgb(32, 44, 139)
HSLhsl(233, 63%, 34%)
HSVhsv(233, 77%, 55%)
CMYKcmyk(77%, 68.3%, 0%, 45.5%)
CIE-LABlab(23.58, 30.19, -54.01)
CIE-LCHlch(23.58, 61.87, 299.21°)
OKLaboklab(35.34% 0.0007 -0.1562)
OKLCHoklch(35.34% 0.156 270.3)
XYZxyz(6.1550, 3.9719, 24.8634)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202C8B #8B7F20
analogous
#20618B #202C8B #49208B
triadic
#202C8B #8B202C #2C8B20
tetradic
#202C8B #8B2061 #8B7F20 #208B49
square
#202C8B #8B2061 #8B7F20 #208B49
split-complementary
#202C8B #8B4920 #618B20
monochromatic
#090D28 #151C59 #202C8B #2B3CBD #4F5ED6

Accessibility & contrast

On white

11.70
#202C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#202C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202C8B
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202C8B#FFFFFF#000000##FFFFFF
##202C8B1.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8E
Deuteranopia (green-blind)
#003389
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #202c8b;
/* rgb */ color: rgb(32, 44, 139);
/* oklch */ color: oklch(35.3% 0.156 270.3);
Tailwind
colors: {
  custom: {
    50: '#6e65ae',
    500: '#202c8b',
    950: '#000000',
  },
}
SCSS
$custom: #202c8b;
$custom-light: #6e65ae;
$custom-dark: #000000;
JSON
{
  "hex": "#202c8b",
  "rgb": {
    "r": 32,
    "g": 44,
    "b": 139
  },
  "hsl": {
    "h": 233.271,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35336,
    "c": 0.15624,
    "h": 270.3
  },
  "luminance": 0.03973
}

Semantic roles & 50–950 ramp

primary
#202C8B
secondary
#BAAD4D
accent
#D342E6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #202C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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