#202A76#202A76

#202A76 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.9% C 0.129 H 271.5°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#202A76
RGBrgb(32, 42, 118)
HSLhsl(233, 57%, 29%)
HSVhsv(233, 73%, 46%)
CMYKcmyk(72.9%, 64.4%, 0%, 53.7%)
CIE-LABlab(21.10, 23.53, -44.82)
CIE-LCHlch(21.10, 50.62, 297.69°)
OKLaboklab(32.91% 0.0034 -0.1294)
OKLCHoklch(32.91% 0.129 271.5)
XYZxyz(4.6925, 3.2706, 17.5200)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202A76 #766C20
analogous
#205576 #202A76 #412076
triadic
#202A76 #76202A #2A7620
tetradic
#202A76 #762055 #766C20 #207641
square
#202A76 #762055 #766C20 #207641
split-complementary
#202A76 #764120 #557620
monochromatic
#070918 #131946 #202A76 #2D3BA6 #4454CC

Accessibility & contrast

On white

12.69
#202A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#202A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202A76
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202A76#FFFFFF#000000##FFFFFF
##202A761.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003778
Deuteranopia (green-blind)
#002F75
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #202a76;
/* rgb */ color: rgb(32, 42, 118);
/* oklch */ color: oklch(32.9% 0.129 271.5);
Tailwind
colors: {
  custom: {
    50: '#68639e',
    500: '#202a76',
    950: '#000000',
  },
}
SCSS
$custom: #202a76;
$custom-light: #68639e;
$custom-dark: #000000;
JSON
{
  "hex": "#202a76",
  "rgb": {
    "r": 32,
    "g": 42,
    "b": 118
  },
  "hsl": {
    "h": 233.023,
    "s": 57.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32911,
    "c": 0.1294,
    "h": 271.5
  },
  "luminance": 0.03271
}

Semantic roles & 50–950 ramp

primary
#202A76
secondary
#A99E48
accent
#CF47E1
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #202A76

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

Preview Lab → · Contrast checker → · Palette generator →

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