#203378#203378

#203378 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.0% C 0.120 H 268.0°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#203378
RGBrgb(32, 51, 120)
HSLhsl(227, 58%, 30%)
HSVhsv(227, 73%, 47%)
CMYKcmyk(73.3%, 57.5%, 0%, 52.9%)
CIE-LABlab(23.77, 18.00, -41.74)
CIE-LCHlch(23.77, 45.46, 293.33°)
OKLaboklab(34.96% -0.0042 -0.1202)
OKLCHoklch(34.96% 0.12 268)
XYZxyz(5.1685, 4.0303, 18.2712)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#203378 #786520
analogous
#205F78 #203378 #392078
triadic
#203378 #782033 #337820
tetradic
#203378 #78205F #786520 #207839
square
#203378 #78205F #786520 #207839
split-complementary
#203378 #783920 #5F7820
monochromatic
#060A18 #131E48 #203378 #2D48A8 #4562CD

Accessibility & contrast

On white

11.63
#203378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#203378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #203378
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##203378#FFFFFF#000000##FFFFFF
##2033781.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7A
Deuteranopia (green-blind)
#003577
Tritanopia (blue-blind)
#004450
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #203378;
/* rgb */ color: rgb(32, 51, 120);
/* oklch */ color: oklch(35.0% 0.120 268.0);
Tailwind
colors: {
  custom: {
    50: '#686aa0',
    500: '#203378',
    950: '#000000',
  },
}
SCSS
$custom: #203378;
$custom-light: #686aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#203378",
  "rgb": {
    "r": 32,
    "g": 51,
    "b": 120
  },
  "hsl": {
    "h": 227.045,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34957,
    "c": 0.12027,
    "h": 268
  },
  "luminance": 0.04031
}

Semantic roles & 50–950 ramp

primary
#203378
secondary
#AB9648
accent
#C047E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #203378

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

Preview Lab → · Contrast checker → · Palette generator →

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