#202A74#202A74

#202A74 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.7% C 0.127 H 271.6°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#202A74
RGBrgb(32, 42, 116)
HSLhsl(233, 57%, 29%)
HSVhsv(233, 72%, 45%)
CMYKcmyk(72.4%, 63.8%, 0%, 54.5%)
CIE-LABlab(20.92, 22.75, -43.83)
CIE-LCHlch(20.92, 49.39, 297.43°)
OKLaboklab(32.72% 0.0035 -0.1264)
OKLCHoklch(32.72% 0.127 271.6)
XYZxyz(4.5749, 3.2235, 16.9007)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202A74 #746A20
analogous
#205474 #202A74 #402074
triadic
#202A74 #74202A #2A7420
tetradic
#202A74 #742054 #746A20 #207440
square
#202A74 #742054 #746A20 #207440
split-complementary
#202A74 #744020 #547420
monochromatic
#070918 #131944 #202A74 #2D3BA4 #4353CB

Accessibility & contrast

On white

12.77
#202A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#202A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202A74
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202A74#FFFFFF#000000##FFFFFF
##202A741.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #202a74;
/* rgb */ color: rgb(32, 42, 116);
/* oklch */ color: oklch(32.7% 0.127 271.6);
Tailwind
colors: {
  custom: {
    50: '#68639d',
    500: '#202a74',
    950: '#000000',
  },
}
SCSS
$custom: #202a74;
$custom-light: #68639d;
$custom-dark: #000000;
JSON
{
  "hex": "#202a74",
  "rgb": {
    "r": 32,
    "g": 42,
    "b": 116
  },
  "hsl": {
    "h": 232.857,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32724,
    "c": 0.1265,
    "h": 271.6
  },
  "luminance": 0.03224
}

Semantic roles & 50–950 ramp

primary
#202A74
secondary
#A89C48
accent
#CE48E0
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #202A74

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

Preview Lab → · Contrast checker → · Palette generator →

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