#203AA5#203AA5

#203AA5 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.4% C 0.174 H 267.1°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#203AA5
RGBrgb(32, 58, 165)
HSLhsl(228, 68%, 39%)
HSVhsv(228, 81%, 65%)
CMYKcmyk(80.6%, 64.8%, 0%, 35.3%)
CIE-LABlab(29.54, 30.76, -60.16)
CIE-LCHlch(29.54, 67.56, 297.08°)
OKLaboklab(40.45% -0.0088 -0.1741)
OKLCHoklch(40.45% 0.174 267.1)
XYZxyz(8.8979, 6.0488, 36.2886)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203AA5 #A58B20
analogous
#207CA5 #203AA5 #4820A5
triadic
#203AA5 #A5203A #3AA520
tetradic
#203AA5 #A5207C #A58B20 #20A548
square
#203AA5 #A5207C #A58B20 #20A548
split-complementary
#203AA5 #A54820 #7CA520
monochromatic
#0C163E #162872 #203AA5 #2C4DD6 #5F79E0

Accessibility & contrast

On white

9.50
#203AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#203AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203AA5
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203AA5#FFFFFF#000000##FFFFFF
##203AA51.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA8
Deuteranopia (green-blind)
#003FA3
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #203aa5;
/* rgb */ color: rgb(32, 58, 165);
/* oklch */ color: oklch(40.4% 0.174 267.1);
Tailwind
colors: {
  custom: {
    50: '#7370c1',
    500: '#203aa5',
    950: '#000000',
  },
}
SCSS
$custom: #203aa5;
$custom-light: #7370c1;
$custom-dark: #000000;
JSON
{
  "hex": "#203aa5",
  "rgb": {
    "r": 32,
    "g": 58,
    "b": 165
  },
  "hsl": {
    "h": 228.271,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40449,
    "c": 0.17434,
    "h": 267.1
  },
  "luminance": 0.0605
}

Semantic roles & 50–950 ramp

primary
#203AA5
secondary
#C5B05C
accent
#C93DEA
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #203AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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