#203EA8#203EA8

#203EA8 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.5% C 0.174 H 266.3°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#203EA8
RGBrgb(32, 62, 168)
HSLhsl(227, 68%, 39%)
HSVhsv(227, 81%, 66%)
CMYKcmyk(81%, 63.1%, 0%, 34.1%)
CIE-LABlab(30.83, 29.25, -59.84)
CIE-LCHlch(30.83, 66.61, 296.05°)
OKLaboklab(41.49% -0.0111 -0.1732)
OKLCHoklch(41.49% 0.174 266.3)
XYZxyz(9.3837, 6.5784, 37.8134)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203EA8 #A88A20
analogous
#2082A8 #203EA8 #4620A8
triadic
#203EA8 #A8203E #3EA820
tetradic
#203EA8 #A82082 #A88A20 #20A846
square
#203EA8 #A82082 #A88A20 #20A846
split-complementary
#203EA8 #A84620 #82A820
monochromatic
#0C1841 #162B75 #203EA8 #2E53D7 #617EE1

Accessibility & contrast

On white

9.07
#203EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#203EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203EA8
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203EA8#FFFFFF#000000##FFFFFF
##203EA81.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAB
Deuteranopia (green-blind)
#0042A6
Tritanopia (blue-blind)
#005A6D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #203ea8;
/* rgb */ color: rgb(32, 62, 168);
/* oklch */ color: oklch(41.5% 0.174 266.3);
Tailwind
colors: {
  custom: {
    50: '#7373c3',
    500: '#203ea8',
    950: '#000000',
  },
}
SCSS
$custom: #203ea8;
$custom-light: #7373c3;
$custom-dark: #000000;
JSON
{
  "hex": "#203ea8",
  "rgb": {
    "r": 32,
    "g": 62,
    "b": 168
  },
  "hsl": {
    "h": 226.765,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41486,
    "c": 0.17353,
    "h": 266.3
  },
  "luminance": 0.06579
}

Semantic roles & 50–950 ramp

primary
#203EA8
secondary
#C6AF5E
accent
#C43DEB
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #203EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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