#202074#202074

#202074 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.9% C 0.139 H 274.6°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#202074
RGBrgb(32, 32, 116)
HSLhsl(240, 57%, 29%)
HSVhsv(240, 72%, 45%)
CMYKcmyk(72.4%, 72.4%, 0%, 54.5%)
CIE-LABlab(18.37, 29.52, -48.01)
CIE-LCHlch(18.37, 56.36, 301.58°)
OKLaboklab(30.86% 0.0111 -0.1387)
OKLCHoklch(30.86% 0.139 274.6)
XYZxyz(4.2635, 2.6007, 16.7969)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202074 #747420
analogous
#204A74 #202074 #4A2074
triadic
#202074 #742020 #207420
tetradic
#202074 #74204A #747420 #20744A
square
#202074 #74204A #747420 #20744A
split-complementary
#202074 #744A20 #4A7420
monochromatic
#070718 #131344 #202074 #2D2DA4 #4343CB

Accessibility & contrast

On white

13.81
#202074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#202074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202074
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202074#FFFFFF#000000##FFFFFF
##2020741.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003177
Deuteranopia (green-blind)
#002972
Tritanopia (blue-blind)
#003747
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #202074;
/* rgb */ color: rgb(32, 32, 116);
/* oklch */ color: oklch(30.9% 0.139 274.6);
Tailwind
colors: {
  custom: {
    50: '#695c9d',
    500: '#202074',
    950: '#000000',
  },
}
SCSS
$custom: #202074;
$custom-light: #695c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#202074",
  "rgb": {
    "r": 32,
    "g": 32,
    "b": 116
  },
  "hsl": {
    "h": 240,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30863,
    "c": 0.13918,
    "h": 274.6
  },
  "luminance": 0.02601
}

Semantic roles & 50–950 ramp

primary
#202074
secondary
#A8A848
accent
#E048E0
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #202074

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

Preview Lab → · Contrast checker → · Palette generator →

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