#203F97#203F97

#203F97 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.2% C 0.149 H 265.4°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#203F97
RGBrgb(32, 63, 151)
HSLhsl(224, 65%, 36%)
HSVhsv(224, 79%, 59%)
CMYKcmyk(78.8%, 58.3%, 0%, 40.8%)
CIE-LABlab(29.65, 21.95, -51.47)
CIE-LCHlch(29.65, 55.96, 293.10°)
OKLaboklab(40.16% -0.0121 -0.1486)
OKLCHoklch(40.16% 0.149 265.4)
XYZxyz(7.9571, 6.0955, 30.0293)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203F97 #977820
analogous
#207A97 #203F97 #3D2097
triadic
#203F97 #97203F #3F9720
tetradic
#203F97 #97207A #977820 #20973D
square
#203F97 #97207A #977820 #20973D
split-complementary
#203F97 #973D20 #7A9720
monochromatic
#0B1532 #152A64 #203F97 #2B54C9 #5679DB

Accessibility & contrast

On white

9.46
#203F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#203F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203F97
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203F97#FFFFFF#000000##FFFFFF
##203F971.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#004195
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #203f97;
/* rgb */ color: rgb(32, 63, 151);
/* oklch */ color: oklch(40.2% 0.149 265.4);
Tailwind
colors: {
  custom: {
    50: '#6f73b6',
    500: '#203f97',
    950: '#000000',
  },
}
SCSS
$custom: #203f97;
$custom-light: #6f73b6;
$custom-dark: #000000;
JSON
{
  "hex": "#203f97",
  "rgb": {
    "r": 32,
    "g": 63,
    "b": 151
  },
  "hsl": {
    "h": 224.37,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40162,
    "c": 0.14909,
    "h": 265.4
  },
  "luminance": 0.06096
}

Semantic roles & 50–950 ramp

primary
#203F97
secondary
#BFA354
accent
#BC40E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #203F97

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

Preview Lab → · Contrast checker → · Palette generator →

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