#202C74#202C74

#202C74 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.1% C 0.124 H 270.8°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#202C74
RGBrgb(32, 44, 116)
HSLhsl(231, 57%, 29%)
HSVhsv(231, 72%, 45%)
CMYKcmyk(72.4%, 62.1%, 0%, 54.5%)
CIE-LABlab(21.46, 21.35, -42.94)
CIE-LCHlch(21.46, 47.96, 296.44°)
OKLaboklab(33.13% 0.0018 -0.1238)
OKLCHoklch(33.13% 0.124 270.8)
XYZxyz(4.6477, 3.3689, 16.9249)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202C74 #746820
analogous
#205674 #202C74 #3E2074
triadic
#202C74 #74202C #2C7420
tetradic
#202C74 #742056 #746820 #20743E
square
#202C74 #742056 #746820 #20743E
split-complementary
#202C74 #743E20 #567420
monochromatic
#070918 #131A44 #202C74 #2D3EA4 #4357CB

Accessibility & contrast

On white

12.55
#202C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#202C74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202C74
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202C74#FFFFFF#000000##FFFFFF
##202C741.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003776
Deuteranopia (green-blind)
#003073
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #202c74;
/* rgb */ color: rgb(32, 44, 116);
/* oklch */ color: oklch(33.1% 0.124 270.8);
Tailwind
colors: {
  custom: {
    50: '#68659d',
    500: '#202c74',
    950: '#000000',
  },
}
SCSS
$custom: #202c74;
$custom-light: #68659d;
$custom-dark: #000000;
JSON
{
  "hex": "#202c74",
  "rgb": {
    "r": 32,
    "g": 44,
    "b": 116
  },
  "hsl": {
    "h": 231.429,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33129,
    "c": 0.12382,
    "h": 270.8
  },
  "luminance": 0.03369
}

Semantic roles & 50–950 ramp

primary
#202C74
secondary
#A89A48
accent
#CA48E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #202C74

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

Preview Lab → · Contrast checker → · Palette generator →

#202C74 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva