#203EA1#203EA1

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

Color values

HEX#203EA1
RGBrgb(32, 62, 161)
HSLhsl(226, 67%, 38%)
HSVhsv(226, 80%, 63%)
CMYKcmyk(80.1%, 61.5%, 0%, 36.9%)
CIE-LABlab(30.22, 26.55, -56.63)
CIE-LCHlch(30.22, 62.54, 295.12°)
OKLaboklab(40.85% -0.0111 -0.1637)
OKLCHoklch(40.85% 0.164 266.1)
XYZxyz(8.7490, 6.3245, 34.4709)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203EA1 #A18320
analogous
#207EA1 #203EA1 #4320A1
triadic
#203EA1 #A1203E #3EA120
tetradic
#203EA1 #A1207E #A18320 #20A143
square
#203EA1 #A1207E #A18320 #20A143
split-complementary
#203EA1 #A14320 #7EA120
monochromatic
#0C173B #162A6E #203EA1 #2A52D4 #5D7BDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##203EA1#FFFFFF#000000##FFFFFF
##203EA11.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)
#004DA4
Deuteranopia (green-blind)
#00419F
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #203ea1;
/* rgb */ color: rgb(32, 62, 161);
/* oklch */ color: oklch(40.8% 0.164 266.1);
Tailwind
colors: {
  custom: {
    50: '#7272be',
    500: '#203ea1',
    950: '#000000',
  },
}
SCSS
$custom: #203ea1;
$custom-light: #7272be;
$custom-dark: #000000;
JSON
{
  "hex": "#203ea1",
  "rgb": {
    "r": 32,
    "g": 62,
    "b": 161
  },
  "hsl": {
    "h": 226.047,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40845,
    "c": 0.16412,
    "h": 266.1
  },
  "luminance": 0.06326
}

Semantic roles & 50–950 ramp

primary
#203EA1
secondary
#C3AB5A
accent
#C23EEA
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #203EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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