#202A75#202A75

#202A75 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.8% C 0.128 H 271.5°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#202A75
RGBrgb(32, 42, 117)
HSLhsl(233, 57%, 29%)
HSVhsv(233, 73%, 46%)
CMYKcmyk(72.6%, 64.1%, 0%, 54.1%)
CIE-LABlab(21.01, 23.14, -44.33)
CIE-LCHlch(21.01, 50.00, 297.56°)
OKLaboklab(32.82% 0.0034 -0.1279)
OKLCHoklch(32.82% 0.128 271.5)
XYZxyz(4.6334, 3.2469, 17.2087)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202A75 #756B20
analogous
#205575 #202A75 #412075
triadic
#202A75 #75202A #2A7520
tetradic
#202A75 #752055 #756B20 #207541
square
#202A75 #752055 #756B20 #207541
split-complementary
#202A75 #754120 #557520
monochromatic
#070918 #131945 #202A75 #2D3BA5 #4454CC

Accessibility & contrast

On white

12.73
#202A75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202A75
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202A75#FFFFFF#000000##FFFFFF
##202A751.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003677
Deuteranopia (green-blind)
#002F74
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #202a75;
/* rgb */ color: rgb(32, 42, 117);
/* oklch */ color: oklch(32.8% 0.128 271.5);
Tailwind
colors: {
  custom: {
    50: '#68639d',
    500: '#202a75',
    950: '#000000',
  },
}
SCSS
$custom: #202a75;
$custom-light: #68639d;
$custom-dark: #000000;
JSON
{
  "hex": "#202a75",
  "rgb": {
    "r": 32,
    "g": 42,
    "b": 117
  },
  "hsl": {
    "h": 232.941,
    "s": 57.047,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32817,
    "c": 0.12796,
    "h": 271.5
  },
  "luminance": 0.03247
}

Semantic roles & 50–950 ramp

primary
#202A75
secondary
#A89D48
accent
#CE47E0
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #202A75

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

Preview Lab → · Contrast checker → · Palette generator →

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