#203899#203899

#203899 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.9% C 0.161 H 267.4°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#203899
RGBrgb(32, 56, 153)
HSLhsl(228, 65%, 36%)
HSVhsv(228, 79%, 60%)
CMYKcmyk(79.1%, 63.4%, 0%, 40%)
CIE-LABlab(27.94, 27.50, -55.49)
CIE-LCHlch(27.94, 61.93, 296.36°)
OKLaboklab(38.94% -0.0073 -0.1605)
OKLCHoklch(38.94% 0.161 267.4)
XYZxyz(7.7576, 5.4345, 30.7709)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203899 #998120
analogous
#207599 #203899 #452099
triadic
#203899 #992038 #389920
tetradic
#203899 #992075 #998120 #209945
square
#203899 #992075 #998120 #209945
split-complementary
#203899 #994520 #759920
monochromatic
#0B1334 #152566 #203899 #2B4BCC #5772DC

Accessibility & contrast

On white

10.06
#203899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#203899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203899
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203899#FFFFFF#000000##FFFFFF
##2038991.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#003C97
Tritanopia (blue-blind)
#005163
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #203899;
/* rgb */ color: rgb(32, 56, 153);
/* oklch */ color: oklch(38.9% 0.161 267.4);
Tailwind
colors: {
  custom: {
    50: '#706eb8',
    500: '#203899',
    950: '#000000',
  },
}
SCSS
$custom: #203899;
$custom-light: #706eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#203899",
  "rgb": {
    "r": 32,
    "g": 56,
    "b": 153
  },
  "hsl": {
    "h": 228.099,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38937,
    "c": 0.16066,
    "h": 267.4
  },
  "luminance": 0.05435
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #203899

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

Preview Lab → · Contrast checker → · Palette generator →

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