#203DA5#203DA5

#203DA5 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.0% C 0.171 H 266.5°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#203DA5
RGBrgb(32, 61, 165)
HSLhsl(227, 68%, 39%)
HSVhsv(227, 81%, 65%)
CMYKcmyk(80.6%, 63%, 0%, 35.3%)
CIE-LABlab(30.30, 28.76, -58.90)
CIE-LCHlch(30.30, 65.55, 296.03°)
OKLaboklab(41.02% -0.0105 -0.1704)
OKLCHoklch(41.02% 0.171 266.5)
XYZxyz(9.0536, 6.3601, 36.3405)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203DA5 #A58820
analogous
#207FA5 #203DA5 #4520A5
triadic
#203DA5 #A5203D #3DA520
tetradic
#203DA5 #A5207F #A58820 #20A545
square
#203DA5 #A5207F #A58820 #20A545
split-complementary
#203DA5 #A54520 #7FA520
monochromatic
#0C173E #162A72 #203DA5 #2C51D6 #5F7BE0

Accessibility & contrast

On white

9.24
#203DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#203DA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203DA5
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203DA5#FFFFFF#000000##FFFFFF
##203DA51.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA8
Deuteranopia (green-blind)
#0041A3
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #203da5;
/* rgb */ color: rgb(32, 61, 165);
/* oklch */ color: oklch(41.0% 0.171 266.5);
Tailwind
colors: {
  custom: {
    50: '#7372c1',
    500: '#203da5',
    950: '#000000',
  },
}
SCSS
$custom: #203da5;
$custom-light: #7372c1;
$custom-dark: #000000;
JSON
{
  "hex": "#203da5",
  "rgb": {
    "r": 32,
    "g": 61,
    "b": 165
  },
  "hsl": {
    "h": 226.917,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41017,
    "c": 0.17073,
    "h": 266.5
  },
  "luminance": 0.06361
}

Semantic roles & 50–950 ramp

primary
#203DA5
secondary
#C5AE5C
accent
#C53DEA
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#090712
muted
#7B7A81

Preview Lab

Preview with #203DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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