#202974#202974

#202974 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.5% C 0.128 H 271.9°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#202974
RGBrgb(32, 41, 116)
HSLhsl(234, 57%, 29%)
HSVhsv(234, 72%, 45%)
CMYKcmyk(72.4%, 64.7%, 0%, 54.5%)
CIE-LABlab(20.65, 23.45, -44.27)
CIE-LCHlch(20.65, 50.10, 297.91°)
OKLaboklab(32.53% 0.0043 -0.1277)
OKLCHoklch(32.53% 0.128 271.9)
XYZxyz(4.5399, 3.1535, 16.8890)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202974 #746B20
analogous
#205374 #202974 #412074
triadic
#202974 #742029 #297420
tetradic
#202974 #742053 #746B20 #207441
square
#202974 #742053 #746B20 #207441
split-complementary
#202974 #744120 #537420
monochromatic
#070818 #131844 #202974 #2D3AA4 #4352CB

Accessibility & contrast

On white

12.88
#202974 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#202974 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202974
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202974#FFFFFF#000000##FFFFFF
##2029741.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003676
Deuteranopia (green-blind)
#002E73
Tritanopia (blue-blind)
#003C4A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #202974;
/* rgb */ color: rgb(32, 41, 116);
/* oklch */ color: oklch(32.5% 0.128 271.9);
Tailwind
colors: {
  custom: {
    50: '#68629d',
    500: '#202974',
    950: '#000000',
  },
}
SCSS
$custom: #202974;
$custom-light: #68629d;
$custom-dark: #000000;
JSON
{
  "hex": "#202974",
  "rgb": {
    "r": 32,
    "g": 41,
    "b": 116
  },
  "hsl": {
    "h": 233.571,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32525,
    "c": 0.12782,
    "h": 271.9
  },
  "luminance": 0.03154
}

Semantic roles & 50–950 ramp

primary
#202974
secondary
#A89D48
accent
#D048E0
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #202974

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

Preview Lab → · Contrast checker → · Palette generator →

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