#203FA5#203FA5

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

Color values

HEX#203FA5
RGBrgb(32, 63, 165)
HSLhsl(226, 68%, 39%)
HSVhsv(226, 81%, 65%)
CMYKcmyk(80.6%, 61.8%, 0%, 35.3%)
CIE-LABlab(30.83, 27.43, -58.04)
CIE-LCHlch(30.83, 64.20, 295.29°)
OKLaboklab(41.4% -0.0117 -0.1679)
OKLCHoklch(41.4% 0.168 266)
XYZxyz(9.1623, 6.5776, 36.3767)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203FA5 #A58620
analogous
#2081A5 #203FA5 #4320A5
triadic
#203FA5 #A5203F #3FA520
tetradic
#203FA5 #A52081 #A58620 #20A543
square
#203FA5 #A52081 #A58620 #20A543
split-complementary
#203FA5 #A54320 #81A520
monochromatic
#0C183E #162B72 #203FA5 #2C54D6 #5F7DE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##203FA5#FFFFFF#000000##FFFFFF
##203FA51.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)
#004FA8
Deuteranopia (green-blind)
#0043A3
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #203fa5;
/* rgb */ color: rgb(32, 63, 165);
/* oklch */ color: oklch(41.4% 0.168 266.0);
Tailwind
colors: {
  custom: {
    50: '#7373c1',
    500: '#203fa5',
    950: '#000000',
  },
}
SCSS
$custom: #203fa5;
$custom-light: #7373c1;
$custom-dark: #000000;
JSON
{
  "hex": "#203fa5",
  "rgb": {
    "r": 32,
    "g": 63,
    "b": 165
  },
  "hsl": {
    "h": 226.015,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41404,
    "c": 0.16829,
    "h": 266
  },
  "luminance": 0.06579
}

Semantic roles & 50–950 ramp

primary
#203FA5
secondary
#C5AC5C
accent
#C23DEA
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090812
muted
#7B7B81

Preview Lab

Preview with #203FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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