#202078#202078

#202078 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.3% C 0.145 H 274.2°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#202078
RGBrgb(32, 32, 120)
HSLhsl(240, 58%, 30%)
HSVhsv(240, 73%, 47%)
CMYKcmyk(73.3%, 73.3%, 0%, 52.9%)
CIE-LABlab(18.78, 30.98, -49.90)
CIE-LCHlch(18.78, 58.73, 301.83°)
OKLaboklab(31.29% 0.0105 -0.1442)
OKLCHoklch(31.29% 0.145 274.2)
XYZxyz(4.5012, 2.6957, 18.0488)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202078 #787820
analogous
#204C78 #202078 #4C2078
triadic
#202078 #782020 #207820
tetradic
#202078 #78204C #787820 #20784C
square
#202078 #78204C #787820 #20784C
split-complementary
#202078 #784C20 #4C7820
monochromatic
#060618 #131348 #202078 #2D2DA8 #4545CD

Accessibility & contrast

On white

13.64
#202078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#202078 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202078
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202078#FFFFFF#000000##FFFFFF
##2020781.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327B
Deuteranopia (green-blind)
#002A76
Tritanopia (blue-blind)
#003849
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #202078;
/* rgb */ color: rgb(32, 32, 120);
/* oklch */ color: oklch(31.3% 0.145 274.2);
Tailwind
colors: {
  custom: {
    50: '#6a5ca0',
    500: '#202078',
    950: '#000000',
  },
}
SCSS
$custom: #202078;
$custom-light: #6a5ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#202078",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 120
  },
  "hsl": {
    "h": 240,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31286,
    "c": 0.14463,
    "h": 274.2
  },
  "luminance": 0.02696
}

Semantic roles & 50–950 ramp

primary
#202078
secondary
#ABAB48
accent
#E147E1
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #202078

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

Preview Lab → · Contrast checker → · Palette generator →

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