#203391#203391

#203391 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.2% C 0.156 H 268.5°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#203391
RGBrgb(32, 51, 145)
HSLhsl(230, 64%, 35%)
HSVhsv(230, 78%, 57%)
CMYKcmyk(77.9%, 64.8%, 0%, 43.1%)
CIE-LABlab(25.92, 27.79, -53.89)
CIE-LCHlch(25.92, 60.63, 297.28°)
OKLaboklab(37.22% -0.004 -0.1558)
OKLCHoklch(37.22% 0.156 268.5)
XYZxyz(6.8886, 4.7183, 27.3302)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203391 #917E20
analogous
#206B91 #203391 #462091
triadic
#203391 #912033 #339120
tetradic
#203391 #91206B #917E20 #209146
square
#203391 #91206B #917E20 #209146
split-complementary
#203391 #914620 #6B9120
monochromatic
#0A102D #15215F #203391 #2B45C3 #5269D9

Accessibility & contrast

On white

10.80
#203391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#203391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203391
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203391#FFFFFF#000000##FFFFFF
##2033911.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#00388F
Tritanopia (blue-blind)
#004C5D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #203391;
/* rgb */ color: rgb(32, 51, 145);
/* oklch */ color: oklch(37.2% 0.156 268.5);
Tailwind
colors: {
  custom: {
    50: '#6e6ab2',
    500: '#203391',
    950: '#000000',
  },
}
SCSS
$custom: #203391;
$custom-light: #6e6ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#203391",
  "rgb": {
    "r": 32,
    "g": 51,
    "b": 145
  },
  "hsl": {
    "h": 229.912,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37222,
    "c": 0.1559,
    "h": 268.5
  },
  "luminance": 0.04719
}

Semantic roles & 50–950 ramp

primary
#203391
secondary
#BCAA51
accent
#CB41E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #203391

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

Preview Lab → · Contrast checker → · Palette generator →

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