#203799#203799

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

Color values

HEX#203799
RGBrgb(32, 55, 153)
HSLhsl(229, 65%, 36%)
HSVhsv(229, 79%, 60%)
CMYKcmyk(79.1%, 64.1%, 0%, 40%)
CIE-LABlab(27.68, 28.17, -55.92)
CIE-LCHlch(27.68, 62.61, 296.74°)
OKLaboklab(38.75% -0.0067 -0.1617)
OKLCHoklch(38.75% 0.162 267.6)
XYZxyz(7.7096, 5.3385, 30.7549)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203799 #998220
analogous
#207499 #203799 #462099
triadic
#203799 #992037 #379920
tetradic
#203799 #992074 #998220 #209946
square
#203799 #992074 #998220 #209946
split-complementary
#203799 #994620 #749920
monochromatic
#0B1334 #152566 #203799 #2B49CC #5771DC

Accessibility & contrast

On white

10.16
#203799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#203799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203799
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203799#FFFFFF#000000##FFFFFF
##2037991.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#003C97
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #203799;
/* rgb */ color: rgb(32, 55, 153);
/* oklch */ color: oklch(38.7% 0.162 267.6);
Tailwind
colors: {
  custom: {
    50: '#706db8',
    500: '#203799',
    950: '#000000',
  },
}
SCSS
$custom: #203799;
$custom-light: #706db8;
$custom-dark: #000000;
JSON
{
  "hex": "#203799",
  "rgb": {
    "r": 32,
    "g": 55,
    "b": 153
  },
  "hsl": {
    "h": 228.595,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38745,
    "c": 0.16188,
    "h": 267.6
  },
  "luminance": 0.05339
}

Semantic roles & 50–950 ramp

primary
#203799
secondary
#C0AB55
accent
#C83FE8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #203799

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

Preview Lab → · Contrast checker → · Palette generator →

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