#203F9C#203F9C

#203F9C is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.156 H 265.6°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#203F9C
RGBrgb(32, 63, 156)
HSLhsl(225, 66%, 37%)
HSVhsv(225, 79%, 61%)
CMYKcmyk(79.5%, 59.6%, 0%, 38.8%)
CIE-LABlab(30.06, 23.92, -53.85)
CIE-LCHlch(30.06, 58.92, 293.95°)
OKLaboklab(40.6% -0.0119 -0.1556)
OKLCHoklch(40.6% 0.156 265.6)
XYZxyz(8.3718, 6.2614, 32.2134)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203F9C #9C7D20
analogous
#207D9C #203F9C #3F209C
triadic
#203F9C #9C203F #3F9C20
tetradic
#203F9C #9C207D #9C7D20 #209C3F
square
#203F9C #9C207D #9C7D20 #209C3F
split-complementary
#203F9C #9C3F20 #7D9C20
monochromatic
#0B1636 #162A69 #203F9C #2A54CF #597ADD

Accessibility & contrast

On white

9.32
#203F9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#203F9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203F9C
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203F9C#FFFFFF#000000##FFFFFF
##203F9C1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9F
Deuteranopia (green-blind)
#00419A
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #203f9c;
/* rgb */ color: rgb(32, 63, 156);
/* oklch */ color: oklch(40.6% 0.156 265.6);
Tailwind
colors: {
  custom: {
    50: '#7073ba',
    500: '#203f9c',
    950: '#000000',
  },
}
SCSS
$custom: #203f9c;
$custom-light: #7073ba;
$custom-dark: #000000;
JSON
{
  "hex": "#203f9c",
  "rgb": {
    "r": 32,
    "g": 63,
    "b": 156
  },
  "hsl": {
    "h": 225,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40598,
    "c": 0.15602,
    "h": 265.6
  },
  "luminance": 0.06262
}

Semantic roles & 50–950 ramp

primary
#203F9C
secondary
#C1A657
accent
#BE3FE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #203F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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