#203DA7#203DA7

#203DA7 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.2% C 0.173 H 266.5°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#203DA7
RGBrgb(32, 61, 167)
HSLhsl(227, 68%, 39%)
HSVhsv(227, 81%, 65%)
CMYKcmyk(80.8%, 63.5%, 0%, 34.5%)
CIE-LABlab(30.48, 29.53, -59.81)
CIE-LCHlch(30.48, 66.70, 296.28°)
OKLaboklab(41.2% -0.0105 -0.1731)
OKLCHoklch(41.2% 0.173 266.5)
XYZxyz(9.2370, 6.4335, 37.3067)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203DA7 #A78A20
analogous
#2081A7 #203DA7 #4720A7
triadic
#203DA7 #A7203D #3DA720
tetradic
#203DA7 #A72081 #A78A20 #20A747
square
#203DA7 #A72081 #A78A20 #20A747
split-complementary
#203DA7 #A74720 #81A720
monochromatic
#0C1740 #162A74 #203DA7 #2D52D7 #617CE1

Accessibility & contrast

On white

9.18
#203DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#203DA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203DA7
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203DA7#FFFFFF#000000##FFFFFF
##203DA71.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #203da7;
/* rgb */ color: rgb(32, 61, 167);
/* oklch */ color: oklch(41.2% 0.173 266.5);
Tailwind
colors: {
  custom: {
    50: '#7372c2',
    500: '#203da7',
    950: '#000000',
  },
}
SCSS
$custom: #203da7;
$custom-light: #7372c2;
$custom-dark: #000000;
JSON
{
  "hex": "#203da7",
  "rgb": {
    "r": 32,
    "g": 61,
    "b": 167
  },
  "hsl": {
    "h": 227.111,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41203,
    "c": 0.1734,
    "h": 266.5
  },
  "luminance": 0.06435
}

Semantic roles & 50–950 ramp

primary
#203DA7
secondary
#C5AF5D
accent
#C53DEB
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #203DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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