#202A6E#202A6E

#202A6E is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.2% C 0.118 H 271.7°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#202A6E
RGBrgb(32, 42, 110)
HSLhsl(232, 55%, 28%)
HSVhsv(232, 71%, 43%)
CMYKcmyk(70.9%, 61.8%, 0%, 56.9%)
CIE-LABlab(20.39, 20.42, -40.82)
CIE-LCHlch(20.39, 45.64, 296.57°)
OKLaboklab(32.17% 0.0035 -0.1176)
OKLCHoklch(32.17% 0.118 271.7)
XYZxyz(4.2372, 3.0884, 15.1217)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202A6E #6E6420
analogous
#20516E #202A6E #3D206E
triadic
#202A6E #6E202A #2A6E20
tetradic
#202A6E #6E2051 #6E6420 #206E3D
square
#202A6E #6E2051 #6E6420 #206E3D
split-complementary
#202A6E #6E3D20 #516E20
monochromatic
#070918 #12183F #202A6E #2E3C9D #4152C8

Accessibility & contrast

On white

12.98
#202A6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#202A6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202A6E
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202A6E#FFFFFF#000000##FFFFFF
##202A6E1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#002E6D
Tritanopia (blue-blind)
#003B47
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #202a6e;
/* rgb */ color: rgb(32, 42, 110);
/* oklch */ color: oklch(32.2% 0.118 271.7);
Tailwind
colors: {
  custom: {
    50: '#666398',
    500: '#202a6e',
    950: '#000000',
  },
}
SCSS
$custom: #202a6e;
$custom-light: #666398;
$custom-dark: #000000;
JSON
{
  "hex": "#202a6e",
  "rgb": {
    "r": 32,
    "g": 42,
    "b": 110
  },
  "hsl": {
    "h": 232.308,
    "s": 54.93,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32173,
    "c": 0.11766,
    "h": 271.7
  },
  "luminance": 0.03089
}

Semantic roles & 50–950 ramp

primary
#202A6E
secondary
#A29648
accent
#CB4ADE
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #202A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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