#203D7B#203D7B

#203D7B is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.4% C 0.111 H 263.2°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#203D7B
RGBrgb(32, 61, 123)
HSLhsl(221, 59%, 30%)
HSVhsv(221, 74%, 48%)
CMYKcmyk(74%, 50.4%, 0%, 51.8%)
CIE-LABlab(26.94, 12.18, -38.51)
CIE-LCHlch(26.94, 40.39, 287.54°)
OKLaboklab(37.44% -0.0131 -0.1105)
OKLCHoklch(37.44% 0.111 263.2)
XYZxyz(5.8383, 5.0740, 19.4067)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203D7B #7B5E20
analogous
#206A7B #203D7B #30207B
triadic
#203D7B #7B203D #3D7B20
tetradic
#203D7B #7B206A #7B5E20 #207B30
square
#203D7B #7B206A #7B5E20 #207B30
split-complementary
#203D7B #7B3020 #6A7B20
monochromatic
#070D1A #13254A #203D7B #2D55AC #4672CF

Accessibility & contrast

On white

10.42
#203D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #203D7B
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203D7B#FFFFFF#000000##FFFFFF
##203D7B1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B447D
Deuteranopia (green-blind)
#013C7A
Tritanopia (blue-blind)
#004C56
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #203d7b;
/* rgb */ color: rgb(32, 61, 123);
/* oklch */ color: oklch(37.4% 0.111 263.2);
Tailwind
colors: {
  custom: {
    50: '#6872a2',
    500: '#203d7b',
    950: '#000000',
  },
}
SCSS
$custom: #203d7b;
$custom-light: #6872a2;
$custom-dark: #000000;
JSON
{
  "hex": "#203d7b",
  "rgb": {
    "r": 32,
    "g": 61,
    "b": 123
  },
  "hsl": {
    "h": 220.879,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.37436,
    "c": 0.11129,
    "h": 263.2
  },
  "luminance": 0.05075
}

Semantic roles & 50–950 ramp

primary
#203D7B
secondary
#AE8E49
accent
#B046E2
background
#F6F6FA
surface
#EBECF3
border
#C6C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #203D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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