#203AA7#203AA7

#203AA7 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.6% C 0.177 H 267.1°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#203AA7
RGBrgb(32, 58, 167)
HSLhsl(228, 68%, 39%)
HSVhsv(228, 81%, 65%)
CMYKcmyk(80.8%, 65.3%, 0%, 34.5%)
CIE-LABlab(29.72, 31.52, -61.06)
CIE-LCHlch(29.72, 68.72, 297.30°)
OKLaboklab(40.64% -0.0088 -0.1768)
OKLCHoklch(40.64% 0.177 267.1)
XYZxyz(9.0813, 6.1221, 37.2548)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203AA7 #A78D20
analogous
#207EA7 #203AA7 #4920A7
triadic
#203AA7 #A7203A #3AA720
tetradic
#203AA7 #A7207E #A78D20 #20A749
square
#203AA7 #A7207E #A78D20 #20A749
split-complementary
#203AA7 #A74920 #7EA720
monochromatic
#0C1640 #162874 #203AA7 #2D4ED7 #6179E1

Accessibility & contrast

On white

9.44
#203AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#203AA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203AA7
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203AA7#FFFFFF#000000##FFFFFF
##203AA71.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #203aa7;
/* rgb */ color: rgb(32, 58, 167);
/* oklch */ color: oklch(40.6% 0.177 267.1);
Tailwind
colors: {
  custom: {
    50: '#7470c2',
    500: '#203aa7',
    950: '#000000',
  },
}
SCSS
$custom: #203aa7;
$custom-light: #7470c2;
$custom-dark: #000000;
JSON
{
  "hex": "#203aa7",
  "rgb": {
    "r": 32,
    "g": 58,
    "b": 167
  },
  "hsl": {
    "h": 228.444,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4064,
    "c": 0.17699,
    "h": 267.1
  },
  "luminance": 0.06123
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #203AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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