#203891#203891

#203891 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.2% C 0.150 H 267.2°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#203891
RGBrgb(32, 56, 145)
HSLhsl(227, 64%, 35%)
HSVhsv(227, 78%, 57%)
CMYKcmyk(77.9%, 61.4%, 0%, 43.1%)
CIE-LABlab(27.24, 24.39, -51.73)
CIE-LCHlch(27.24, 57.19, 295.24°)
OKLaboklab(38.2% -0.0073 -0.1495)
OKLCHoklch(38.2% 0.15 267.2)
XYZxyz(7.1189, 5.1790, 27.4070)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203891 #917920
analogous
#207091 #203891 #412091
triadic
#203891 #912038 #389120
tetradic
#203891 #912070 #917920 #209141
square
#203891 #912070 #917920 #209141
split-complementary
#203891 #914120 #709120
monochromatic
#0A112D #15255F #203891 #2B4BC3 #526FD9

Accessibility & contrast

On white

10.31
#203891 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#203891 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203891
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203891#FFFFFF#000000##FFFFFF
##2038911.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004694
Deuteranopia (green-blind)
#003B8F
Tritanopia (blue-blind)
#004F5F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #203891;
/* rgb */ color: rgb(32, 56, 145);
/* oklch */ color: oklch(38.2% 0.150 267.2);
Tailwind
colors: {
  custom: {
    50: '#6e6eb2',
    500: '#203891',
    950: '#000000',
  },
}
SCSS
$custom: #203891;
$custom-light: #6e6eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#203891",
  "rgb": {
    "r": 32,
    "g": 56,
    "b": 145
  },
  "hsl": {
    "h": 227.257,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38201,
    "c": 0.14964,
    "h": 267.2
  },
  "luminance": 0.0518
}

Semantic roles & 50–950 ramp

primary
#203891
secondary
#BCA551
accent
#C441E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #203891

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

Preview Lab → · Contrast checker → · Palette generator →

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