#203291#203291

#203291 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.0% C 0.157 H 268.8°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#203291
RGBrgb(32, 50, 145)
HSLhsl(230, 64%, 35%)
HSVhsv(230, 78%, 57%)
CMYKcmyk(77.9%, 65.5%, 0%, 43.1%)
CIE-LABlab(25.66, 28.46, -54.31)
CIE-LCHlch(25.66, 61.32, 297.66°)
OKLaboklab(37.03% -0.0034 -0.1571)
OKLCHoklch(37.03% 0.157 268.8)
XYZxyz(6.8453, 4.6319, 27.3158)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203291 #917F20
analogous
#206B91 #203291 #462091
triadic
#203291 #912032 #329120
tetradic
#203291 #91206B #917F20 #209146
square
#203291 #91206B #917F20 #209146
split-complementary
#203291 #914620 #6B9120
monochromatic
#0A0F2D #15215F #203291 #2B43C3 #5268D9

Accessibility & contrast

On white

10.90
#203291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#203291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203291
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203291#FFFFFF#000000##FFFFFF
##2032911.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #203291;
/* rgb */ color: rgb(32, 50, 145);
/* oklch */ color: oklch(37.0% 0.157 268.8);
Tailwind
colors: {
  custom: {
    50: '#6f69b2',
    500: '#203291',
    950: '#000000',
  },
}
SCSS
$custom: #203291;
$custom-light: #6f69b2;
$custom-dark: #000000;
JSON
{
  "hex": "#203291",
  "rgb": {
    "r": 32,
    "g": 50,
    "b": 145
  },
  "hsl": {
    "h": 230.442,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37033,
    "c": 0.15713,
    "h": 268.8
  },
  "luminance": 0.04633
}

Semantic roles & 50–950 ramp

primary
#203291
secondary
#BCAB51
accent
#CC41E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #203291

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

Preview Lab → · Contrast checker → · Palette generator →

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