#203797#203797

#203797 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.6% C 0.159 H 267.6°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#203797
RGBrgb(32, 55, 151)
HSLhsl(228, 65%, 36%)
HSVhsv(228, 79%, 59%)
CMYKcmyk(78.8%, 63.6%, 0%, 40.8%)
CIE-LABlab(27.50, 27.40, -54.99)
CIE-LCHlch(27.50, 61.44, 296.49°)
OKLaboklab(38.56% -0.0067 -0.159)
OKLCHoklch(38.56% 0.159 267.6)
XYZxyz(7.5458, 5.2730, 29.8922)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203797 #978020
analogous
#207297 #203797 #442097
triadic
#203797 #972037 #379720
tetradic
#203797 #972072 #978020 #209744
square
#203797 #972072 #978020 #209744
split-complementary
#203797 #974420 #729720
monochromatic
#0B1232 #152564 #203797 #2B49C9 #5670DB

Accessibility & contrast

On white

10.22
#203797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#203797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203797
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203797#FFFFFF#000000##FFFFFF
##2037971.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#003B95
Tritanopia (blue-blind)
#005061
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #203797;
/* rgb */ color: rgb(32, 55, 151);
/* oklch */ color: oklch(38.6% 0.159 267.6);
Tailwind
colors: {
  custom: {
    50: '#706db6',
    500: '#203797',
    950: '#000000',
  },
}
SCSS
$custom: #203797;
$custom-light: #706db6;
$custom-dark: #000000;
JSON
{
  "hex": "#203797",
  "rgb": {
    "r": 32,
    "g": 55,
    "b": 151
  },
  "hsl": {
    "h": 228.403,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38557,
    "c": 0.15916,
    "h": 267.6
  },
  "luminance": 0.05274
}

Semantic roles & 50–950 ramp

primary
#203797
secondary
#BFAA54
accent
#C740E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #203797

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

Preview Lab → · Contrast checker → · Palette generator →

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