#203EA7#203EA7

#203EA7 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.4% C 0.172 H 266.3°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#203EA7
RGBrgb(32, 62, 167)
HSLhsl(227, 68%, 39%)
HSVhsv(227, 81%, 65%)
CMYKcmyk(80.8%, 62.9%, 0%, 34.5%)
CIE-LABlab(30.74, 28.86, -59.39)
CIE-LCHlch(30.74, 66.03, 295.92°)
OKLaboklab(41.39% -0.0111 -0.1718)
OKLCHoklch(41.39% 0.172 266.3)
XYZxyz(9.2909, 6.5413, 37.3246)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203EA7 #A78920
analogous
#2082A7 #203EA7 #4620A7
triadic
#203EA7 #A7203E #3EA720
tetradic
#203EA7 #A72082 #A78920 #20A746
square
#203EA7 #A72082 #A78920 #20A746
split-complementary
#203EA7 #A74620 #82A720
monochromatic
#0C1840 #162B74 #203EA7 #2D53D7 #617DE1

Accessibility & contrast

On white

9.10
#203EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#203EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203EA7
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203EA7#FFFFFF#000000##FFFFFF
##203EA71.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAA
Deuteranopia (green-blind)
#0042A5
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #203ea7;
/* rgb */ color: rgb(32, 62, 167);
/* oklch */ color: oklch(41.4% 0.172 266.3);
Tailwind
colors: {
  custom: {
    50: '#7373c2',
    500: '#203ea7',
    950: '#000000',
  },
}
SCSS
$custom: #203ea7;
$custom-light: #7373c2;
$custom-dark: #000000;
JSON
{
  "hex": "#203ea7",
  "rgb": {
    "r": 32,
    "g": 62,
    "b": 167
  },
  "hsl": {
    "h": 226.667,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41394,
    "c": 0.17219,
    "h": 266.3
  },
  "luminance": 0.06542
}

Semantic roles & 50–950 ramp

primary
#203EA7
secondary
#C5AE5D
accent
#C43DEB
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #203EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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