#203387#203387

#203387 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.3% C 0.142 H 268.5°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#203387
RGBrgb(32, 51, 135)
HSLhsl(229, 62%, 33%)
HSVhsv(229, 76%, 53%)
CMYKcmyk(76.3%, 62.2%, 0%, 47.1%)
CIE-LABlab(25.02, 23.92, -49.15)
CIE-LCHlch(25.02, 54.66, 295.95°)
OKLaboklab(36.29% -0.0038 -0.1419)
OKLCHoklch(36.29% 0.142 268.5)
XYZxyz(6.1512, 4.4233, 23.4466)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203387 #877420
analogous
#206687 #203387 #402087
triadic
#203387 #872033 #338720
tetradic
#203387 #872066 #877420 #208740
square
#203387 #872066 #877420 #208740
split-complementary
#203387 #874020 #668720
monochromatic
#090E24 #142056 #203387 #2C46B8 #4D66D5

Accessibility & contrast

On white

11.14
#203387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#203387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203387
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203387#FFFFFF#000000##FFFFFF
##2033871.0011.141.8811.14
#FFFFFF11.141.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#003785
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #203387;
/* rgb */ color: rgb(32, 51, 135);
/* oklch */ color: oklch(36.3% 0.142 268.5);
Tailwind
colors: {
  custom: {
    50: '#6c6aab',
    500: '#203387',
    950: '#000000',
  },
}
SCSS
$custom: #203387;
$custom-light: #6c6aab;
$custom-dark: #000000;
JSON
{
  "hex": "#203387",
  "rgb": {
    "r": 32,
    "g": 51,
    "b": 135
  },
  "hsl": {
    "h": 228.932,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36286,
    "c": 0.14199,
    "h": 268.5
  },
  "luminance": 0.04424
}

Semantic roles & 50–950 ramp

primary
#203387
secondary
#B8A44B
accent
#C743E5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #203387

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

Preview Lab → · Contrast checker → · Palette generator →

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