#203791#203791

#203791 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.0% C 0.151 H 267.5°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#203791
RGBrgb(32, 55, 145)
HSLhsl(228, 64%, 35%)
HSVhsv(228, 78%, 57%)
CMYKcmyk(77.9%, 62.1%, 0%, 43.1%)
CIE-LABlab(26.97, 25.07, -52.17)
CIE-LCHlch(26.97, 57.88, 295.67°)
OKLaboklab(38% -0.0066 -0.1508)
OKLCHoklch(38% 0.151 267.5)
XYZxyz(7.0709, 5.0830, 27.3910)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203791 #917A20
analogous
#206F91 #203791 #422091
triadic
#203791 #912037 #379120
tetradic
#203791 #91206F #917A20 #209142
square
#203791 #91206F #917A20 #209142
split-complementary
#203791 #914220 #6F9120
monochromatic
#0A112D #15245F #203791 #2B4AC3 #526ED9

Accessibility & contrast

On white

10.41
#203791 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#203791 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203791
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203791#FFFFFF#000000##FFFFFF
##2037911.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #203791;
/* rgb */ color: rgb(32, 55, 145);
/* oklch */ color: oklch(38.0% 0.151 267.5);
Tailwind
colors: {
  custom: {
    50: '#6e6db2',
    500: '#203791',
    950: '#000000',
  },
}
SCSS
$custom: #203791;
$custom-light: #6e6db2;
$custom-dark: #000000;
JSON
{
  "hex": "#203791",
  "rgb": {
    "r": 32,
    "g": 55,
    "b": 145
  },
  "hsl": {
    "h": 227.788,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38002,
    "c": 0.15091,
    "h": 267.5
  },
  "luminance": 0.05084
}

Semantic roles & 50–950 ramp

primary
#203791
secondary
#BCA651
accent
#C541E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #203791

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

Preview Lab → · Contrast checker → · Palette generator →

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