#203178#203178

#203178 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.5% C 0.123 H 268.8°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#203178
RGBrgb(32, 49, 120)
HSLhsl(228, 58%, 30%)
HSVhsv(228, 73%, 47%)
CMYKcmyk(73.3%, 59.2%, 0%, 52.9%)
CIE-LABlab(23.20, 19.41, -42.67)
CIE-LCHlch(23.20, 46.88, 294.46°)
OKLaboklab(34.53% -0.0025 -0.1229)
OKLCHoklch(34.53% 0.123 268.8)
XYZxyz(5.0830, 3.8593, 18.2427)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203178 #786720
analogous
#205D78 #203178 #3B2078
triadic
#203178 #782031 #317820
tetradic
#203178 #78205D #786720 #20783B
square
#203178 #78205D #786720 #20783B
split-complementary
#203178 #783B20 #5D7820
monochromatic
#060A18 #131D48 #203178 #2D45A8 #455FCD

Accessibility & contrast

On white

11.85
#203178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#203178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203178
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203178#FFFFFF#000000##FFFFFF
##2031781.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7A
Deuteranopia (green-blind)
#003377
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #203178;
/* rgb */ color: rgb(32, 49, 120);
/* oklch */ color: oklch(34.5% 0.123 268.8);
Tailwind
colors: {
  custom: {
    50: '#6868a0',
    500: '#203178',
    950: '#000000',
  },
}
SCSS
$custom: #203178;
$custom-light: #6868a0;
$custom-dark: #000000;
JSON
{
  "hex": "#203178",
  "rgb": {
    "r": 32,
    "g": 49,
    "b": 120
  },
  "hsl": {
    "h": 228.409,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34529,
    "c": 0.12298,
    "h": 268.8
  },
  "luminance": 0.0386
}

Semantic roles & 50–950 ramp

primary
#203178
secondary
#AB9848
accent
#C347E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #203178

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

Preview Lab → · Contrast checker → · Palette generator →

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