#203F80#203F80

#203F80 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.3% C 0.116 H 262.9°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#203F80
RGBrgb(32, 63, 128)
HSLhsl(221, 60%, 31%)
HSVhsv(221, 75%, 50%)
CMYKcmyk(75%, 50.8%, 0%, 49.8%)
CIE-LABlab(27.90, 12.79, -40.11)
CIE-LCHlch(27.90, 42.10, 287.68°)
OKLaboklab(38.28% -0.0143 -0.1152)
OKLCHoklch(38.28% 0.116 262.9)
XYZxyz(6.2681, 5.4199, 21.1337)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203F80 #806120
analogous
#206F80 #203F80 #312080
triadic
#203F80 #80203F #3F8020
tetradic
#203F80 #80206F #806120 #208031
square
#203F80 #80206F #806120 #208031
split-complementary
#203F80 #803120 #6F8020
monochromatic
#080F1E #14274F #203F80 #2C57B1 #4975D1

Accessibility & contrast

On white

10.08
#203F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#203F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203F80
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203F80#FFFFFF#000000##FFFFFF
##203F801.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4782
Deuteranopia (green-blind)
#003E7F
Tritanopia (blue-blind)
#004E59
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #203f80;
/* rgb */ color: rgb(32, 63, 128);
/* oklch */ color: oklch(38.3% 0.116 262.9);
Tailwind
colors: {
  custom: {
    50: '#6973a5',
    500: '#203f80',
    950: '#000000',
  },
}
SCSS
$custom: #203f80;
$custom-light: #6973a5;
$custom-dark: #000000;
JSON
{
  "hex": "#203f80",
  "rgb": {
    "r": 32,
    "g": 63,
    "b": 128
  },
  "hsl": {
    "h": 220.625,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3828,
    "c": 0.11605,
    "h": 262.9
  },
  "luminance": 0.05421
}

Semantic roles & 50–950 ramp

primary
#203F80
secondary
#B39149
accent
#B045E3
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #203F80

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

Preview Lab → · Contrast checker → · Palette generator →

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