#203382#203382

#203382 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.8% C 0.135 H 268.4°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#203382
RGBrgb(32, 51, 130)
HSLhsl(228, 60%, 32%)
HSVhsv(228, 75%, 51%)
CMYKcmyk(75.4%, 60.8%, 0%, 49%)
CIE-LABlab(24.59, 21.96, -46.72)
CIE-LCHlch(24.59, 51.62, 295.17°)
OKLaboklab(35.83% -0.0038 -0.1348)
OKLCHoklch(35.83% 0.135 268.4)
XYZxyz(5.8074, 4.2858, 21.6360)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203382 #826F20
analogous
#206482 #203382 #3E2082
triadic
#203382 #822033 #338220
tetradic
#203382 #822064 #826F20 #20823E
square
#203382 #822064 #826F20 #20823E
split-complementary
#203382 #823E20 #648220
monochromatic
#080C20 #142051 #203382 #2C46B3 #4A64D2

Accessibility & contrast

On white

11.31
#203382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#203382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203382
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203382#FFFFFF#000000##FFFFFF
##2033821.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F85
Deuteranopia (green-blind)
#003680
Tritanopia (blue-blind)
#004755
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #203382;
/* rgb */ color: rgb(32, 51, 130);
/* oklch */ color: oklch(35.8% 0.135 268.4);
Tailwind
colors: {
  custom: {
    50: '#6b6aa7',
    500: '#203382',
    950: '#000000',
  },
}
SCSS
$custom: #203382;
$custom-light: #6b6aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#203382",
  "rgb": {
    "r": 32,
    "g": 51,
    "b": 130
  },
  "hsl": {
    "h": 228.367,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35833,
    "c": 0.13486,
    "h": 268.4
  },
  "luminance": 0.04286
}

Semantic roles & 50–950 ramp

primary
#203382
secondary
#B5A049
accent
#C544E4
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #203382

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

Preview Lab → · Contrast checker → · Palette generator →

#203382 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva