#203786#203786

#203786 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.0% C 0.135 H 267.1°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#203786
RGBrgb(32, 55, 134)
HSLhsl(226, 61%, 33%)
HSVhsv(226, 76%, 53%)
CMYKcmyk(76.1%, 59%, 0%, 47.5%)
CIE-LABlab(26.04, 20.75, -46.87)
CIE-LCHlch(26.04, 51.26, 293.88°)
OKLaboklab(37.02% -0.0069 -0.1352)
OKLCHoklch(37.02% 0.135 267.1)
XYZxyz(6.2634, 4.7600, 23.1383)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203786 #866F20
analogous
#206A86 #203786 #3C2086
triadic
#203786 #862037 #378620
tetradic
#203786 #86206A #866F20 #20863C
square
#203786 #86206A #866F20 #20863C
split-complementary
#203786 #863C20 #6A8620
monochromatic
#080E23 #142355 #203786 #2C4BB7 #4C6BD4

Accessibility & contrast

On white

10.76
#203786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#203786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203786
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203786#FFFFFF#000000##FFFFFF
##2037861.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#003984
Tritanopia (blue-blind)
#004B59
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #203786;
/* rgb */ color: rgb(32, 55, 134);
/* oklch */ color: oklch(37.0% 0.135 267.1);
Tailwind
colors: {
  custom: {
    50: '#6b6daa',
    500: '#203786',
    950: '#000000',
  },
}
SCSS
$custom: #203786;
$custom-light: #6b6daa;
$custom-dark: #000000;
JSON
{
  "hex": "#203786",
  "rgb": {
    "r": 32,
    "g": 55,
    "b": 134
  },
  "hsl": {
    "h": 226.471,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37017,
    "c": 0.13536,
    "h": 267.1
  },
  "luminance": 0.04761
}

Semantic roles & 50–950 ramp

primary
#203786
secondary
#B79F4B
accent
#C043E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #203786

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

Preview Lab → · Contrast checker → · Palette generator →

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