#203792#203792

#203792 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.1% C 0.152 H 267.5°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#203792
RGBrgb(32, 55, 146)
HSLhsl(228, 64%, 35%)
HSVhsv(228, 78%, 57%)
CMYKcmyk(78.1%, 62.3%, 0%, 42.7%)
CIE-LABlab(27.06, 25.46, -52.64)
CIE-LCHlch(27.06, 58.48, 295.81°)
OKLaboklab(38.09% -0.0066 -0.1521)
OKLCHoklch(38.09% 0.152 267.5)
XYZxyz(7.1484, 5.1140, 27.7989)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203792 #927B20
analogous
#207092 #203792 #422092
triadic
#203792 #922037 #379220
tetradic
#203792 #922070 #927B20 #209242
square
#203792 #922070 #927B20 #209242
split-complementary
#203792 #924220 #709220
monochromatic
#0A112E #152460 #203792 #2B4AC4 #536ED9

Accessibility & contrast

On white

10.38
#203792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#203792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203792
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203792#FFFFFF#000000##FFFFFF
##2037921.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004595
Deuteranopia (green-blind)
#003B90
Tritanopia (blue-blind)
#004E5F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #203792;
/* rgb */ color: rgb(32, 55, 146);
/* oklch */ color: oklch(38.1% 0.152 267.5);
Tailwind
colors: {
  custom: {
    50: '#6e6db3',
    500: '#203792',
    950: '#000000',
  },
}
SCSS
$custom: #203792;
$custom-light: #6e6db3;
$custom-dark: #000000;
JSON
{
  "hex": "#203792",
  "rgb": {
    "r": 32,
    "g": 55,
    "b": 146
  },
  "hsl": {
    "h": 227.895,
    "s": 64.045,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38093,
    "c": 0.15228,
    "h": 267.5
  },
  "luminance": 0.05115
}

Semantic roles & 50–950 ramp

primary
#203792
secondary
#BDA751
accent
#C641E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #203792

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

Preview Lab → · Contrast checker → · Palette generator →

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