#203AA8#203AA8

#203AA8 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.7% C 0.178 H 267.1°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#203AA8
RGBrgb(32, 58, 168)
HSLhsl(229, 68%, 39%)
HSVhsv(229, 81%, 66%)
CMYKcmyk(81%, 65.5%, 0%, 34.1%)
CIE-LABlab(29.81, 31.90, -61.51)
CIE-LCHlch(29.81, 69.29, 297.41°)
OKLaboklab(40.74% -0.0089 -0.1781)
OKLCHoklch(40.74% 0.178 267.1)
XYZxyz(9.1741, 6.1593, 37.7435)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203AA8 #A88E20
analogous
#207EA8 #203AA8 #4A20A8
triadic
#203AA8 #A8203A #3AA820
tetradic
#203AA8 #A8207E #A88E20 #20A84A
square
#203AA8 #A8207E #A88E20 #20A84A
split-complementary
#203AA8 #A84A20 #7EA820
monochromatic
#0C1741 #162875 #203AA8 #2E4ED7 #617AE1

Accessibility & contrast

On white

9.41
#203AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #203AA8
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203AA8#FFFFFF#000000##FFFFFF
##203AA81.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #203aa8;
/* rgb */ color: rgb(32, 58, 168);
/* oklch */ color: oklch(40.7% 0.178 267.1);
Tailwind
colors: {
  custom: {
    50: '#7470c3',
    500: '#203aa8',
    950: '#000000',
  },
}
SCSS
$custom: #203aa8;
$custom-light: #7470c3;
$custom-dark: #000000;
JSON
{
  "hex": "#203aa8",
  "rgb": {
    "r": 32,
    "g": 58,
    "b": 168
  },
  "hsl": {
    "h": 228.529,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40736,
    "c": 0.1783,
    "h": 267.1
  },
  "luminance": 0.0616
}

Semantic roles & 50–950 ramp

primary
#203AA8
secondary
#C6B25E
accent
#CA3DEB
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #203AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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