#203778#203778

#203778 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.8% C 0.115 H 266.1°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#203778
RGBrgb(32, 55, 120)
HSLhsl(224, 58%, 30%)
HSVhsv(224, 73%, 47%)
CMYKcmyk(73.3%, 54.2%, 0%, 52.9%)
CIE-LABlab(24.94, 15.18, -39.86)
CIE-LCHlch(24.94, 42.65, 290.85°)
OKLaboklab(35.84% -0.0079 -0.1146)
OKLCHoklch(35.84% 0.115 266.1)
XYZxyz(5.3508, 4.3950, 18.3320)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203778 #786120
analogous
#206378 #203778 #352078
triadic
#203778 #782037 #377820
tetradic
#203778 #782063 #786120 #207835
square
#203778 #782063 #786120 #207835
split-complementary
#203778 #783520 #637820
monochromatic
#060B18 #132148 #203778 #2D4DA8 #4569CD

Accessibility & contrast

On white

11.17
#203778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #203778
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203778#FFFFFF#000000##FFFFFF
##2037781.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3F7A
Deuteranopia (green-blind)
#003777
Tritanopia (blue-blind)
#004752
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #203778;
/* rgb */ color: rgb(32, 55, 120);
/* oklch */ color: oklch(35.8% 0.115 266.1);
Tailwind
colors: {
  custom: {
    50: '#686d9f',
    500: '#203778',
    950: '#000000',
  },
}
SCSS
$custom: #203778;
$custom-light: #686d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#203778",
  "rgb": {
    "r": 32,
    "g": 55,
    "b": 120
  },
  "hsl": {
    "h": 224.318,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.35837,
    "c": 0.11484,
    "h": 266.1
  },
  "luminance": 0.04396
}

Semantic roles & 50–950 ramp

primary
#203778
secondary
#AB9148
accent
#B947E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #203778

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

Preview Lab → · Contrast checker → · Palette generator →

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