#203381#203381

#203381 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.7% C 0.133 H 268.3°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#203381
RGBrgb(32, 51, 129)
HSLhsl(228, 60%, 32%)
HSVhsv(228, 75%, 51%)
CMYKcmyk(75.2%, 60.5%, 0%, 49.4%)
CIE-LABlab(24.51, 21.56, -46.23)
CIE-LCHlch(24.51, 51.01, 295.01°)
OKLaboklab(35.74% -0.0039 -0.1334)
OKLCHoklch(35.74% 0.133 268.3)
XYZxyz(5.7406, 4.2591, 21.2842)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203381 #816E20
analogous
#206481 #203381 #3E2081
triadic
#203381 #812033 #338120
tetradic
#203381 #812064 #816E20 #20813E
square
#203381 #812064 #816E20 #20813E
split-complementary
#203381 #813E20 #648120
monochromatic
#080C1F #142050 #203381 #2C46B2 #4964D2

Accessibility & contrast

On white

11.34
#203381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#203381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203381
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203381#FFFFFF#000000##FFFFFF
##2033811.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F84
Deuteranopia (green-blind)
#00367F
Tritanopia (blue-blind)
#004654
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #203381;
/* rgb */ color: rgb(32, 51, 129);
/* oklch */ color: oklch(35.7% 0.133 268.3);
Tailwind
colors: {
  custom: {
    50: '#6a6aa6',
    500: '#203381',
    950: '#000000',
  },
}
SCSS
$custom: #203381;
$custom-light: #6a6aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#203381",
  "rgb": {
    "r": 32,
    "g": 51,
    "b": 129
  },
  "hsl": {
    "h": 228.247,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35743,
    "c": 0.13343,
    "h": 268.3
  },
  "luminance": 0.0426
}

Semantic roles & 50–950 ramp

primary
#203381
secondary
#B49F49
accent
#C444E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #203381

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

Preview Lab → · Contrast checker → · Palette generator →

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