#203FA7#203FA7

#203FA7 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.6% C 0.171 H 266.1°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#203FA7
RGBrgb(32, 63, 167)
HSLhsl(226, 68%, 39%)
HSVhsv(226, 81%, 65%)
CMYKcmyk(80.8%, 62.3%, 0%, 34.5%)
CIE-LABlab(31.00, 28.20, -58.96)
CIE-LCHlch(31.00, 65.36, 295.56°)
OKLaboklab(41.59% -0.0117 -0.1706)
OKLCHoklch(41.59% 0.171 266.1)
XYZxyz(9.3458, 6.6510, 37.3429)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203FA7 #A78820
analogous
#2083A7 #203FA7 #4520A7
triadic
#203FA7 #A7203F #3FA720
tetradic
#203FA7 #A72083 #A78820 #20A745
square
#203FA7 #A72083 #A78820 #20A745
split-complementary
#203FA7 #A74520 #83A720
monochromatic
#0C1840 #162C74 #203FA7 #2D54D7 #617EE1

Accessibility & contrast

On white

9.01
#203FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#203FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203FA7
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203FA7#FFFFFF#000000##FFFFFF
##203FA71.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAA
Deuteranopia (green-blind)
#0043A5
Tritanopia (blue-blind)
#005A6D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #203fa7;
/* rgb */ color: rgb(32, 63, 167);
/* oklch */ color: oklch(41.6% 0.171 266.1);
Tailwind
colors: {
  custom: {
    50: '#7373c2',
    500: '#203fa7',
    950: '#000000',
  },
}
SCSS
$custom: #203fa7;
$custom-light: #7373c2;
$custom-dark: #000000;
JSON
{
  "hex": "#203fa7",
  "rgb": {
    "r": 32,
    "g": 63,
    "b": 167
  },
  "hsl": {
    "h": 226.222,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41587,
    "c": 0.17097,
    "h": 266.1
  },
  "luminance": 0.06652
}

Semantic roles & 50–950 ramp

primary
#203FA7
secondary
#C5AE5D
accent
#C33DEB
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #203FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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