#202478#202478

#202478 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.140 H 273.2°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#202478
RGBrgb(32, 36, 120)
HSLhsl(237, 58%, 30%)
HSVhsv(237, 73%, 47%)
CMYKcmyk(73.3%, 70%, 0%, 52.9%)
CIE-LABlab(19.74, 28.37, -48.32)
CIE-LCHlch(19.74, 56.04, 300.42°)
OKLaboklab(31.98% 0.0078 -0.1396)
OKLCHoklch(31.98% 0.14 273.2)
XYZxyz(4.6156, 2.9244, 18.0869)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202478 #787420
analogous
#205078 #202478 #482078
triadic
#202478 #782024 #247820
tetradic
#202478 #782050 #787420 #207848
square
#202478 #782050 #787420 #207848
split-complementary
#202478 #784820 #507820
monochromatic
#060718 #131648 #202478 #2D32A8 #454BCD

Accessibility & contrast

On white

13.25
#202478 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#202478 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202478
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202478#FFFFFF#000000##FFFFFF
##2024781.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347B
Deuteranopia (green-blind)
#002C76
Tritanopia (blue-blind)
#003A4A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #202478;
/* rgb */ color: rgb(32, 36, 120);
/* oklch */ color: oklch(32.0% 0.140 273.2);
Tailwind
colors: {
  custom: {
    50: '#695fa0',
    500: '#202478',
    950: '#000000',
  },
}
SCSS
$custom: #202478;
$custom-light: #695fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#202478",
  "rgb": {
    "r": 32,
    "g": 36,
    "b": 120
  },
  "hsl": {
    "h": 237.273,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31976,
    "c": 0.13987,
    "h": 273.2
  },
  "luminance": 0.02925
}

Semantic roles & 50–950 ramp

primary
#202478
secondary
#ABA748
accent
#DA47E1
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #202478

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

Preview Lab → · Contrast checker → · Palette generator →

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