#203D7C#203D7C

#203D7C is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.5% C 0.113 H 263.4°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#203D7C
RGBrgb(32, 61, 124)
HSLhsl(221, 59%, 31%)
HSVhsv(221, 74%, 49%)
CMYKcmyk(74.2%, 50.8%, 0%, 51.4%)
CIE-LABlab(27.02, 12.58, -39.03)
CIE-LCHlch(27.02, 41.00, 287.86°)
OKLaboklab(37.51% -0.013 -0.112)
OKLCHoklch(37.51% 0.113 263.4)
XYZxyz(5.9012, 5.0992, 19.7381)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203D7C #7C5F20
analogous
#206B7C #203D7C #31207C
triadic
#203D7C #7C203D #3D7C20
tetradic
#203D7C #7C206B #7C5F20 #207C31
square
#203D7C #7C206B #7C5F20 #207C31
split-complementary
#203D7C #7C3120 #6B7C20
monochromatic
#070D1B #13254B #203D7C #2D55AD #4772CF

Accessibility & contrast

On white

10.40
#203D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#203D7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203D7C
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203D7C#FFFFFF#000000##FFFFFF
##203D7C1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A447E
Deuteranopia (green-blind)
#003C7B
Tritanopia (blue-blind)
#004C56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #203d7c;
/* rgb */ color: rgb(32, 61, 124);
/* oklch */ color: oklch(37.5% 0.113 263.4);
Tailwind
colors: {
  custom: {
    50: '#6872a2',
    500: '#203d7c',
    950: '#000000',
  },
}
SCSS
$custom: #203d7c;
$custom-light: #6872a2;
$custom-dark: #000000;
JSON
{
  "hex": "#203d7c",
  "rgb": {
    "r": 32,
    "g": 61,
    "b": 124
  },
  "hsl": {
    "h": 221.087,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37513,
    "c": 0.11277,
    "h": 263.4
  },
  "luminance": 0.051
}

Semantic roles & 50–950 ramp

primary
#203D7C
secondary
#AF8F49
accent
#B146E2
background
#F6F6FA
surface
#EBECF3
border
#C6C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #203D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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