#203CA5#203CA5

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

Color values

HEX#203CA5
RGBrgb(32, 60, 165)
HSLhsl(227, 68%, 39%)
HSVhsv(227, 81%, 65%)
CMYKcmyk(80.6%, 63.6%, 0%, 35.3%)
CIE-LABlab(30.05, 29.43, -59.32)
CIE-LCHlch(30.05, 66.22, 296.39°)
OKLaboklab(40.83% -0.0099 -0.1717)
OKLCHoklch(40.83% 0.172 266.7)
XYZxyz(9.0007, 6.2544, 36.3229)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203CA5 #A58920
analogous
#207EA5 #203CA5 #4620A5
triadic
#203CA5 #A5203C #3CA520
tetradic
#203CA5 #A5207E #A58920 #20A546
square
#203CA5 #A5207E #A58920 #20A546
split-complementary
#203CA5 #A54620 #7EA520
monochromatic
#0C173E #162972 #203CA5 #2C50D6 #5F7AE0

Accessibility & contrast

On white

9.33
#203CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#203CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203CA5
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203CA5#FFFFFF#000000##FFFFFF
##203CA51.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA8
Deuteranopia (green-blind)
#0041A3
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #203ca5;
/* rgb */ color: rgb(32, 60, 165);
/* oklch */ color: oklch(40.8% 0.172 266.7);
Tailwind
colors: {
  custom: {
    50: '#7371c1',
    500: '#203ca5',
    950: '#000000',
  },
}
SCSS
$custom: #203ca5;
$custom-light: #7371c1;
$custom-dark: #000000;
JSON
{
  "hex": "#203ca5",
  "rgb": {
    "r": 32,
    "g": 60,
    "b": 165
  },
  "hsl": {
    "h": 227.368,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40826,
    "c": 0.17195,
    "h": 266.7
  },
  "luminance": 0.06255
}

Semantic roles & 50–950 ramp

primary
#203CA5
secondary
#C5AF5C
accent
#C63DEA
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#090712
muted
#7B7A81

Preview Lab

Preview with #203CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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