#203994#203994

#203994 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.7% C 0.153 H 267.0°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#203994
RGBrgb(32, 57, 148)
HSLhsl(227, 64%, 35%)
HSVhsv(227, 78%, 58%)
CMYKcmyk(78.4%, 61.5%, 0%, 42%)
CIE-LABlab(27.77, 24.88, -52.71)
CIE-LCHlch(27.77, 58.29, 295.27°)
OKLaboklab(38.67% -0.008 -0.1523)
OKLCHoklch(38.67% 0.153 267)
XYZxyz(7.4022, 5.3706, 28.6577)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203994 #947B20
analogous
#207394 #203994 #412094
triadic
#203994 #942039 #399420
tetradic
#203994 #942073 #947B20 #209441
square
#203994 #942073 #947B20 #209441
split-complementary
#203994 #944120 #739420
monochromatic
#0A122F #152662 #203994 #2B4CC6 #5471DA

Accessibility & contrast

On white

10.12
#203994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#203994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203994
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203994#FFFFFF#000000##FFFFFF
##2039941.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004797
Deuteranopia (green-blind)
#003C92
Tritanopia (blue-blind)
#005061
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #203994;
/* rgb */ color: rgb(32, 57, 148);
/* oklch */ color: oklch(38.7% 0.153 267.0);
Tailwind
colors: {
  custom: {
    50: '#6f6fb4',
    500: '#203994',
    950: '#000000',
  },
}
SCSS
$custom: #203994;
$custom-light: #6f6fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#203994",
  "rgb": {
    "r": 32,
    "g": 57,
    "b": 148
  },
  "hsl": {
    "h": 227.069,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38674,
    "c": 0.15254,
    "h": 267
  },
  "luminance": 0.05371
}

Semantic roles & 50–950 ramp

primary
#203994
secondary
#BEA652
accent
#C340E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #203994

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

Preview Lab → · Contrast checker → · Palette generator →

#203994 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva