#203F81#203F81

#203F81 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.4% C 0.118 H 263.1°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#203F81
RGBrgb(32, 63, 129)
HSLhsl(221, 60%, 32%)
HSVhsv(221, 75%, 51%)
CMYKcmyk(75.2%, 51.2%, 0%, 49.4%)
CIE-LABlab(27.97, 13.19, -40.62)
CIE-LCHlch(27.97, 42.71, 287.99°)
OKLaboklab(38.36% -0.0141 -0.1167)
OKLCHoklch(38.36% 0.118 263.1)
XYZxyz(6.3342, 5.4464, 21.4821)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203F81 #816220
analogous
#207081 #203F81 #322081
triadic
#203F81 #81203F #3F8120
tetradic
#203F81 #812070 #816220 #208132
square
#203F81 #812070 #816220 #208132
split-complementary
#203F81 #813220 #708120
monochromatic
#080F1F #142750 #203F81 #2C57B2 #4975D2

Accessibility & contrast

On white

10.05
#203F81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#203F81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203F81
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203F81#FFFFFF#000000##FFFFFF
##203F811.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194783
Deuteranopia (green-blind)
#003E80
Tritanopia (blue-blind)
#004F5A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #203f81;
/* rgb */ color: rgb(32, 63, 129);
/* oklch */ color: oklch(38.4% 0.118 263.1);
Tailwind
colors: {
  custom: {
    50: '#6a73a6',
    500: '#203f81',
    950: '#000000',
  },
}
SCSS
$custom: #203f81;
$custom-light: #6a73a6;
$custom-dark: #000000;
JSON
{
  "hex": "#203f81",
  "rgb": {
    "r": 32,
    "g": 63,
    "b": 129
  },
  "hsl": {
    "h": 220.825,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38357,
    "c": 0.11752,
    "h": 263.1
  },
  "luminance": 0.05447
}

Semantic roles & 50–950 ramp

primary
#203F81
secondary
#B49249
accent
#B144E3
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #203F81

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

Preview Lab → · Contrast checker → · Palette generator →

#203F81 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva