#203DA1#203DA1

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

Color values

HEX#203DA1
RGBrgb(32, 61, 161)
HSLhsl(227, 67%, 38%)
HSVhsv(227, 80%, 63%)
CMYKcmyk(80.1%, 62.1%, 0%, 36.9%)
CIE-LABlab(29.95, 27.22, -57.06)
CIE-LCHlch(29.95, 63.22, 295.51°)
OKLaboklab(40.65% -0.0105 -0.165)
OKLCHoklch(40.65% 0.165 266.4)
XYZxyz(8.6952, 6.2168, 34.4530)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203DA1 #A18420
analogous
#207DA1 #203DA1 #4420A1
triadic
#203DA1 #A1203D #3DA120
tetradic
#203DA1 #A1207D #A18420 #20A144
square
#203DA1 #A1207D #A18420 #20A144
split-complementary
#203DA1 #A14420 #7DA120
monochromatic
#0C163B #162A6E #203DA1 #2A50D4 #5D7ADF

Accessibility & contrast

On white

9.36
#203DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#203DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203DA1
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203DA1#FFFFFF#000000##FFFFFF
##203DA11.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA4
Deuteranopia (green-blind)
#00419F
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #203da1;
/* rgb */ color: rgb(32, 61, 161);
/* oklch */ color: oklch(40.6% 0.165 266.4);
Tailwind
colors: {
  custom: {
    50: '#7272be',
    500: '#203da1',
    950: '#000000',
  },
}
SCSS
$custom: #203da1;
$custom-light: #7272be;
$custom-dark: #000000;
JSON
{
  "hex": "#203da1",
  "rgb": {
    "r": 32,
    "g": 61,
    "b": 161
  },
  "hsl": {
    "h": 226.512,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40648,
    "c": 0.16534,
    "h": 266.4
  },
  "luminance": 0.06218
}

Semantic roles & 50–950 ramp

primary
#203DA1
secondary
#C3AB5A
accent
#C33EEA
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #203DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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