#203D97#203D97

#203D97 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.152 H 266.0°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#203D97
RGBrgb(32, 61, 151)
HSLhsl(225, 65%, 36%)
HSVhsv(225, 79%, 59%)
CMYKcmyk(78.8%, 59.6%, 0%, 40.8%)
CIE-LABlab(29.10, 23.32, -52.37)
CIE-LCHlch(29.10, 57.33, 294.01°)
OKLaboklab(39.75% -0.0107 -0.1513)
OKLCHoklch(39.75% 0.152 266)
XYZxyz(7.8484, 5.8780, 29.9931)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203D97 #977A20
analogous
#207897 #203D97 #3E2097
triadic
#203D97 #97203D #3D9720
tetradic
#203D97 #972078 #977A20 #20973E
square
#203D97 #972078 #977A20 #20973E
split-complementary
#203D97 #973E20 #789720
monochromatic
#0B1432 #152964 #203D97 #2B51C9 #5677DB

Accessibility & contrast

On white

9.65
#203D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#203D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203D97
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203D97#FFFFFF#000000##FFFFFF
##203D971.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#003F95
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #203d97;
/* rgb */ color: rgb(32, 61, 151);
/* oklch */ color: oklch(39.8% 0.152 266.0);
Tailwind
colors: {
  custom: {
    50: '#6f72b6',
    500: '#203d97',
    950: '#000000',
  },
}
SCSS
$custom: #203d97;
$custom-light: #6f72b6;
$custom-dark: #000000;
JSON
{
  "hex": "#203d97",
  "rgb": {
    "r": 32,
    "g": 61,
    "b": 151
  },
  "hsl": {
    "h": 225.378,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3975,
    "c": 0.15164,
    "h": 266
  },
  "luminance": 0.05879
}

Semantic roles & 50–950 ramp

primary
#203D97
secondary
#BFA554
accent
#BF40E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #203D97

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

Preview Lab → · Contrast checker → · Palette generator →

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