#203C97#203C97

#203C97 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.5% C 0.153 H 266.3°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#203C97
RGBrgb(32, 60, 151)
HSLhsl(226, 65%, 36%)
HSVhsv(226, 79%, 59%)
CMYKcmyk(78.8%, 60.3%, 0%, 40.8%)
CIE-LABlab(28.83, 24.00, -52.81)
CIE-LCHlch(28.83, 58.01, 294.44°)
OKLaboklab(39.55% -0.01 -0.1526)
OKLCHoklch(39.55% 0.153 266.3)
XYZxyz(7.7955, 5.7723, 29.9755)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203C97 #977B20
analogous
#207797 #203C97 #3F2097
triadic
#203C97 #97203C #3C9720
tetradic
#203C97 #972077 #977B20 #20973F
square
#203C97 #972077 #977B20 #20973F
split-complementary
#203C97 #973F20 #779720
monochromatic
#0B1432 #152864 #203C97 #2B50C9 #5675DB

Accessibility & contrast

On white

9.75
#203C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#203C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203C97
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203C97#FFFFFF#000000##FFFFFF
##203C971.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #203c97;
/* rgb */ color: rgb(32, 60, 151);
/* oklch */ color: oklch(39.5% 0.153 266.3);
Tailwind
colors: {
  custom: {
    50: '#6f71b6',
    500: '#203c97',
    950: '#000000',
  },
}
SCSS
$custom: #203c97;
$custom-light: #6f71b6;
$custom-dark: #000000;
JSON
{
  "hex": "#203c97",
  "rgb": {
    "r": 32,
    "g": 60,
    "b": 151
  },
  "hsl": {
    "h": 225.882,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39547,
    "c": 0.15291,
    "h": 266.3
  },
  "luminance": 0.05773
}

Semantic roles & 50–950 ramp

primary
#203C97
secondary
#BFA654
accent
#C040E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #203C97

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

Preview Lab → · Contrast checker → · Palette generator →

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