#203281#203281

#203281 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.5% C 0.135 H 268.7°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#203281
RGBrgb(32, 50, 129)
HSLhsl(229, 60%, 32%)
HSVhsv(229, 75%, 51%)
CMYKcmyk(75.2%, 61.2%, 0%, 49.4%)
CIE-LABlab(24.23, 22.26, -46.68)
CIE-LCHlch(24.23, 51.71, 295.49°)
OKLaboklab(35.54% -0.0031 -0.1347)
OKLCHoklch(35.54% 0.135 268.7)
XYZxyz(5.6973, 4.1727, 21.2698)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203281 #816F20
analogous
#206381 #203281 #3F2081
triadic
#203281 #812032 #328120
tetradic
#203281 #812063 #816F20 #20813F
square
#203281 #812063 #816F20 #20813F
split-complementary
#203281 #813F20 #638120
monochromatic
#080C1F #141F50 #203281 #2C45B2 #4963D2

Accessibility & contrast

On white

11.45
#203281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#203281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203281
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203281#FFFFFF#000000##FFFFFF
##2032811.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #203281;
/* rgb */ color: rgb(32, 50, 129);
/* oklch */ color: oklch(35.5% 0.135 268.7);
Tailwind
colors: {
  custom: {
    50: '#6a69a6',
    500: '#203281',
    950: '#000000',
  },
}
SCSS
$custom: #203281;
$custom-light: #6a69a6;
$custom-dark: #000000;
JSON
{
  "hex": "#203281",
  "rgb": {
    "r": 32,
    "g": 50,
    "b": 129
  },
  "hsl": {
    "h": 228.866,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35538,
    "c": 0.13475,
    "h": 268.7
  },
  "luminance": 0.04173
}

Semantic roles & 50–950 ramp

primary
#203281
secondary
#B4A049
accent
#C644E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #203281

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

Preview Lab → · Contrast checker → · Palette generator →

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