#203878#203878

#203878 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.1% C 0.113 H 265.5°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#203878
RGBrgb(32, 56, 120)
HSLhsl(224, 58%, 30%)
HSVhsv(224, 73%, 47%)
CMYKcmyk(73.3%, 53.3%, 0%, 52.9%)
CIE-LABlab(25.23, 14.48, -39.38)
CIE-LCHlch(25.23, 41.96, 290.18°)
OKLaboklab(36.06% -0.0088 -0.1131)
OKLCHoklch(36.06% 0.113 265.5)
XYZxyz(5.3988, 4.4909, 18.3480)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203878 #786020
analogous
#206478 #203878 #342078
triadic
#203878 #782038 #387820
tetradic
#203878 #782064 #786020 #207834
square
#203878 #782064 #786020 #207834
split-complementary
#203878 #783420 #647820
monochromatic
#060B18 #132148 #203878 #2D4FA8 #456ACD

Accessibility & contrast

On white

11.06
#203878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#203878 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203878
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203878#FFFFFF#000000##FFFFFF
##2038781.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10407A
Deuteranopia (green-blind)
#003877
Tritanopia (blue-blind)
#004752
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #203878;
/* rgb */ color: rgb(32, 56, 120);
/* oklch */ color: oklch(36.1% 0.113 265.5);
Tailwind
colors: {
  custom: {
    50: '#686e9f',
    500: '#203878',
    950: '#000000',
  },
}
SCSS
$custom: #203878;
$custom-light: #686e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#203878",
  "rgb": {
    "r": 32,
    "g": 56,
    "b": 120
  },
  "hsl": {
    "h": 223.636,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36062,
    "c": 0.11349,
    "h": 265.5
  },
  "luminance": 0.04491
}

Semantic roles & 50–950 ramp

primary
#203878
secondary
#AB9048
accent
#B747E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #203878

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

Preview Lab → · Contrast checker → · Palette generator →

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