#203CA1#203CA1

#203CA1 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.5% C 0.167 H 266.6°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#203CA1
RGBrgb(32, 60, 161)
HSLhsl(227, 67%, 38%)
HSVhsv(227, 80%, 63%)
CMYKcmyk(80.1%, 62.7%, 0%, 36.9%)
CIE-LABlab(29.69, 27.89, -57.49)
CIE-LCHlch(29.69, 63.90, 295.88°)
OKLaboklab(40.45% -0.0099 -0.1663)
OKLCHoklch(40.45% 0.167 266.6)
XYZxyz(8.6423, 6.1110, 34.4354)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203CA1 #A18520
analogous
#207CA1 #203CA1 #4520A1
triadic
#203CA1 #A1203C #3CA120
tetradic
#203CA1 #A1207C #A18520 #20A145
square
#203CA1 #A1207C #A18520 #20A145
split-complementary
#203CA1 #A14520 #7CA120
monochromatic
#0C163B #16296E #203CA1 #2A4FD4 #5D79DF

Accessibility & contrast

On white

9.45
#203CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#203CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203CA1
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203CA1#FFFFFF#000000##FFFFFF
##203CA11.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA4
Deuteranopia (green-blind)
#00409F
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #203ca1;
/* rgb */ color: rgb(32, 60, 161);
/* oklch */ color: oklch(40.5% 0.167 266.6);
Tailwind
colors: {
  custom: {
    50: '#7271be',
    500: '#203ca1',
    950: '#000000',
  },
}
SCSS
$custom: #203ca1;
$custom-light: #7271be;
$custom-dark: #000000;
JSON
{
  "hex": "#203ca1",
  "rgb": {
    "r": 32,
    "g": 60,
    "b": 161
  },
  "hsl": {
    "h": 226.977,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40454,
    "c": 0.16657,
    "h": 266.6
  },
  "luminance": 0.06112
}

Semantic roles & 50–950 ramp

primary
#203CA1
secondary
#C3AC5A
accent
#C43EEA
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #203CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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