#203BA7#203BA7

#203BA7 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.8% C 0.176 H 266.9°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#203BA7
RGBrgb(32, 59, 167)
HSLhsl(228, 68%, 39%)
HSVhsv(228, 81%, 65%)
CMYKcmyk(80.8%, 64.7%, 0%, 34.5%)
CIE-LABlab(29.97, 30.86, -60.65)
CIE-LCHlch(29.97, 68.05, 296.97°)
OKLaboklab(40.83% -0.0094 -0.1756)
OKLCHoklch(40.83% 0.176 266.9)
XYZxyz(9.1322, 6.2240, 37.2718)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203BA7 #A78C20
analogous
#207FA7 #203BA7 #4920A7
triadic
#203BA7 #A7203B #3BA720
tetradic
#203BA7 #A7207F #A78C20 #20A749
square
#203BA7 #A7207F #A78C20 #20A749
split-complementary
#203BA7 #A74920 #7FA720
monochromatic
#0C1740 #162974 #203BA7 #2D4FD7 #617AE1

Accessibility & contrast

On white

9.35
#203BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #203BA7
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203BA7#FFFFFF#000000##FFFFFF
##203BA71.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAA
Deuteranopia (green-blind)
#0040A5
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #203ba7;
/* rgb */ color: rgb(32, 59, 167);
/* oklch */ color: oklch(40.8% 0.176 266.9);
Tailwind
colors: {
  custom: {
    50: '#7370c2',
    500: '#203ba7',
    950: '#000000',
  },
}
SCSS
$custom: #203ba7;
$custom-light: #7370c2;
$custom-dark: #000000;
JSON
{
  "hex": "#203ba7",
  "rgb": {
    "r": 32,
    "g": 59,
    "b": 167
  },
  "hsl": {
    "h": 228,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.40826,
    "c": 0.1758,
    "h": 266.9
  },
  "luminance": 0.06225
}

Semantic roles & 50–950 ramp

primary
#203BA7
secondary
#C5B15D
accent
#C83DEB
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #203BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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