#203C98#203C98

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

Color values

HEX#203C98
RGBrgb(32, 60, 152)
HSLhsl(226, 65%, 36%)
HSVhsv(226, 79%, 60%)
CMYKcmyk(78.9%, 60.5%, 0%, 40.4%)
CIE-LABlab(28.91, 24.40, -53.29)
CIE-LCHlch(28.91, 58.60, 294.60°)
OKLaboklab(39.64% -0.0099 -0.154)
OKLCHoklch(39.64% 0.154 266.3)
XYZxyz(7.8770, 5.8049, 30.4050)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203C98 #987C20
analogous
#207898 #203C98 #402098
triadic
#203C98 #98203C #3C9820
tetradic
#203C98 #982078 #987C20 #209840
square
#203C98 #982078 #987C20 #209840
split-complementary
#203C98 #984020 #789820
monochromatic
#0B1433 #152865 #203C98 #2B50CB #5776DC

Accessibility & contrast

On white

9.72
#203C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#203C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203C98
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203C98#FFFFFF#000000##FFFFFF
##203C981.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9B
Deuteranopia (green-blind)
#003F96
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #203c98;
/* rgb */ color: rgb(32, 60, 152);
/* oklch */ color: oklch(39.6% 0.154 266.3);
Tailwind
colors: {
  custom: {
    50: '#6f71b7',
    500: '#203c98',
    950: '#000000',
  },
}
SCSS
$custom: #203c98;
$custom-light: #6f71b7;
$custom-dark: #000000;
JSON
{
  "hex": "#203c98",
  "rgb": {
    "r": 32,
    "g": 60,
    "b": 152
  },
  "hsl": {
    "h": 226,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39636,
    "c": 0.15429,
    "h": 266.3
  },
  "luminance": 0.05806
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #203C98

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

Preview Lab → · Contrast checker → · Palette generator →

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