#202A66#202A66

#202A66 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.5% C 0.106 H 271.8°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#202A66
RGBrgb(32, 42, 102)
HSLhsl(231, 52%, 26%)
HSVhsv(231, 69%, 40%)
CMYKcmyk(68.6%, 58.8%, 0%, 60%)
CIE-LABlab(19.73, 17.28, -36.70)
CIE-LCHlch(19.73, 40.57, 295.21°)
OKLaboklab(31.47% 0.0033 -0.1055)
OKLCHoklch(31.47% 0.106 271.8)
XYZxyz(3.8211, 2.9220, 12.9304)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202A66 #665C20
analogous
#204D66 #202A66 #392066
triadic
#202A66 #66202A #2A6620
tetradic
#202A66 #66204D #665C20 #206639
square
#202A66 #66204D #665C20 #206639
split-complementary
#202A66 #663920 #4D6620
monochromatic
#070A17 #111737 #202A66 #2F3D95 #3E51C2

Accessibility & contrast

On white

13.25
#202A66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#202A66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202A66
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202A66#FFFFFF#000000##FFFFFF
##202A661.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003368
Deuteranopia (green-blind)
#002D65
Tritanopia (blue-blind)
#003843
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #202a66;
/* rgb */ color: rgb(32, 42, 102);
/* oklch */ color: oklch(31.5% 0.106 271.8);
Tailwind
colors: {
  custom: {
    50: '#646392',
    500: '#202a66',
    950: '#000000',
  },
}
SCSS
$custom: #202a66;
$custom-light: #646392;
$custom-dark: #000000;
JSON
{
  "hex": "#202a66",
  "rgb": {
    "r": 32,
    "g": 42,
    "b": 102
  },
  "hsl": {
    "h": 231.429,
    "s": 52.239,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31466,
    "c": 0.10555,
    "h": 271.8
  },
  "luminance": 0.02922
}

Semantic roles & 50–950 ramp

primary
#202A66
secondary
#9A8E48
accent
#C74CDC
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #202A66

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

Preview Lab → · Contrast checker → · Palette generator →

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