#203CA7#203CA7

#203CA7 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.0% C 0.175 H 266.7°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#203CA7
RGBrgb(32, 60, 167)
HSLhsl(228, 68%, 39%)
HSVhsv(228, 81%, 65%)
CMYKcmyk(80.8%, 64.1%, 0%, 34.5%)
CIE-LABlab(30.22, 30.20, -60.23)
CIE-LCHlch(30.22, 67.38, 296.63°)
OKLaboklab(41.01% -0.0099 -0.1743)
OKLCHoklch(41.01% 0.175 266.7)
XYZxyz(9.1841, 6.3277, 37.2891)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203CA7 #A78B20
analogous
#2080A7 #203CA7 #4820A7
triadic
#203CA7 #A7203C #3CA720
tetradic
#203CA7 #A72080 #A78B20 #20A748
square
#203CA7 #A72080 #A78B20 #20A748
split-complementary
#203CA7 #A74820 #80A720
monochromatic
#0C1740 #162A74 #203CA7 #2D51D7 #617BE1

Accessibility & contrast

On white

9.27
#203CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#203CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203CA7
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203CA7#FFFFFF#000000##FFFFFF
##203CA71.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAA
Deuteranopia (green-blind)
#0041A5
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #203ca7;
/* rgb */ color: rgb(32, 60, 167);
/* oklch */ color: oklch(41.0% 0.175 266.7);
Tailwind
colors: {
  custom: {
    50: '#7371c2',
    500: '#203ca7',
    950: '#000000',
  },
}
SCSS
$custom: #203ca7;
$custom-light: #7371c2;
$custom-dark: #000000;
JSON
{
  "hex": "#203ca7",
  "rgb": {
    "r": 32,
    "g": 60,
    "b": 167
  },
  "hsl": {
    "h": 227.556,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41013,
    "c": 0.1746,
    "h": 266.7
  },
  "luminance": 0.06329
}

Semantic roles & 50–950 ramp

primary
#203CA7
secondary
#C5B05D
accent
#C73DEB
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #203CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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