#203BA5#203BA5

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

Color values

HEX#203BA5
RGBrgb(32, 59, 165)
HSLhsl(228, 68%, 39%)
HSVhsv(228, 81%, 65%)
CMYKcmyk(80.6%, 64.2%, 0%, 35.3%)
CIE-LABlab(29.79, 30.10, -59.74)
CIE-LCHlch(29.79, 66.89, 296.74°)
OKLaboklab(40.64% -0.0093 -0.1729)
OKLCHoklch(40.64% 0.173 266.9)
XYZxyz(8.9488, 6.1506, 36.3056)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203BA5 #A58A20
analogous
#207DA5 #203BA5 #4820A5
triadic
#203BA5 #A5203B #3BA520
tetradic
#203BA5 #A5207D #A58A20 #20A548
square
#203BA5 #A5207D #A58A20 #20A548
split-complementary
#203BA5 #A54820 #7DA520
monochromatic
#0C163E #162972 #203BA5 #2C4FD6 #5F79E0

Accessibility & contrast

On white

9.42
#203BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#203BA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203BA5
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203BA5#FFFFFF#000000##FFFFFF
##203BA51.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA8
Deuteranopia (green-blind)
#0040A3
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #203ba5;
/* rgb */ color: rgb(32, 59, 165);
/* oklch */ color: oklch(40.6% 0.173 266.9);
Tailwind
colors: {
  custom: {
    50: '#7370c1',
    500: '#203ba5',
    950: '#000000',
  },
}
SCSS
$custom: #203ba5;
$custom-light: #7370c1;
$custom-dark: #000000;
JSON
{
  "hex": "#203ba5",
  "rgb": {
    "r": 32,
    "g": 59,
    "b": 165
  },
  "hsl": {
    "h": 227.82,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40637,
    "c": 0.17314,
    "h": 266.9
  },
  "luminance": 0.06152
}

Semantic roles & 50–950 ramp

primary
#203BA5
secondary
#C5AF5C
accent
#C73DEA
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#090712
muted
#7B7A81

Preview Lab

Preview with #203BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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