#203D8A#203D8A

#203D8A is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.6% C 0.133 H 265.1°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#203D8A
RGBrgb(32, 61, 138)
HSLhsl(224, 62%, 33%)
HSVhsv(224, 77%, 54%)
CMYKcmyk(76.8%, 55.8%, 0%, 45.9%)
CIE-LABlab(28.06, 18.17, -46.07)
CIE-LCHlch(28.06, 49.53, 291.53°)
OKLaboklab(38.64% -0.0114 -0.1328)
OKLCHoklch(38.64% 0.133 265.1)
XYZxyz(6.8502, 5.4788, 24.7363)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203D8A #8A6D20
analogous
#20728A #203D8A #38208A
triadic
#203D8A #8A203D #3D8A20
tetradic
#203D8A #8A2072 #8A6D20 #208A38
square
#203D8A #8A2072 #8A6D20 #208A38
split-complementary
#203D8A #8A3820 #728A20
monochromatic
#091127 #142758 #203D8A #2C53BC #4E73D6

Accessibility & contrast

On white

10.02
#203D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#203D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203D8A
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203D8A#FFFFFF#000000##FFFFFF
##203D8A1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#003E88
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #203d8a;
/* rgb */ color: rgb(32, 61, 138);
/* oklch */ color: oklch(38.6% 0.133 265.1);
Tailwind
colors: {
  custom: {
    50: '#6c72ad',
    500: '#203d8a',
    950: '#000000',
  },
}
SCSS
$custom: #203d8a;
$custom-light: #6c72ad;
$custom-dark: #000000;
JSON
{
  "hex": "#203d8a",
  "rgb": {
    "r": 32,
    "g": 61,
    "b": 138
  },
  "hsl": {
    "h": 223.585,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.38636,
    "c": 0.13325,
    "h": 265.1
  },
  "luminance": 0.0548
}

Semantic roles & 50–950 ramp

primary
#203D8A
secondary
#B99B4D
accent
#B942E5
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #203D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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