#203EA5#203EA5

#203EA5 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.2% C 0.170 H 266.3°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#203EA5
RGBrgb(32, 62, 165)
HSLhsl(226, 68%, 39%)
HSVhsv(226, 81%, 65%)
CMYKcmyk(80.6%, 62.4%, 0%, 35.3%)
CIE-LABlab(30.56, 28.09, -58.47)
CIE-LCHlch(30.56, 64.87, 295.66°)
OKLaboklab(41.21% -0.0111 -0.1691)
OKLCHoklch(41.21% 0.17 266.3)
XYZxyz(9.1074, 6.4679, 36.3584)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203EA5 #A58720
analogous
#2080A5 #203EA5 #4420A5
triadic
#203EA5 #A5203E #3EA520
tetradic
#203EA5 #A52080 #A58720 #20A544
square
#203EA5 #A52080 #A58720 #20A544
split-complementary
#203EA5 #A54420 #80A520
monochromatic
#0C173E #162B72 #203EA5 #2C52D6 #5F7CE0

Accessibility & contrast

On white

9.16
#203EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#203EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203EA5
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203EA5#FFFFFF#000000##FFFFFF
##203EA51.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA8
Deuteranopia (green-blind)
#0042A3
Tritanopia (blue-blind)
#00596B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #203ea5;
/* rgb */ color: rgb(32, 62, 165);
/* oklch */ color: oklch(41.2% 0.170 266.3);
Tailwind
colors: {
  custom: {
    50: '#7373c1',
    500: '#203ea5',
    950: '#000000',
  },
}
SCSS
$custom: #203ea5;
$custom-light: #7373c1;
$custom-dark: #000000;
JSON
{
  "hex": "#203ea5",
  "rgb": {
    "r": 32,
    "g": 62,
    "b": 165
  },
  "hsl": {
    "h": 226.466,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4121,
    "c": 0.16951,
    "h": 266.3
  },
  "luminance": 0.06469
}

Semantic roles & 50–950 ramp

primary
#203EA5
secondary
#C5AD5C
accent
#C33DEA
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#090812
muted
#7B7B81

Preview Lab

Preview with #203EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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