#202A6D#202A6D

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

Color values

HEX#202A6D
RGBrgb(32, 42, 109)
HSLhsl(232, 55%, 28%)
HSVhsv(232, 71%, 43%)
CMYKcmyk(70.6%, 61.5%, 0%, 57.3%)
CIE-LABlab(20.31, 20.03, -40.32)
CIE-LCHlch(20.31, 45.02, 296.42°)
OKLaboklab(32.08% 0.0035 -0.1161)
OKLCHoklch(32.08% 0.116 271.7)
XYZxyz(4.1830, 3.0667, 14.8365)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202A6D #6D6320
analogous
#20506D #202A6D #3D206D
triadic
#202A6D #6D202A #2A6D20
tetradic
#202A6D #6D2050 #6D6320 #206D3D
square
#202A6D #6D2050 #6D6320 #206D3D
split-complementary
#202A6D #6D3D20 #506D20
monochromatic
#070918 #12183E #202A6D #2E3C9C #4052C7

Accessibility & contrast

On white

13.02
#202A6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#202A6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202A6D
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202A6D#FFFFFF#000000##FFFFFF
##202A6D1.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356F
Deuteranopia (green-blind)
#002E6C
Tritanopia (blue-blind)
#003A47
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #202a6d;
/* rgb */ color: rgb(32, 42, 109);
/* oklch */ color: oklch(32.1% 0.116 271.7);
Tailwind
colors: {
  custom: {
    50: '#666397',
    500: '#202a6d',
    950: '#000000',
  },
}
SCSS
$custom: #202a6d;
$custom-light: #666397;
$custom-dark: #000000;
JSON
{
  "hex": "#202a6d",
  "rgb": {
    "r": 32,
    "g": 42,
    "b": 109
  },
  "hsl": {
    "h": 232.208,
    "s": 54.61,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32082,
    "c": 0.11617,
    "h": 271.7
  },
  "luminance": 0.03067
}

Semantic roles & 50–950 ramp

primary
#202A6D
secondary
#A19548
accent
#CB4ADE
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #202A6D

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

Preview Lab → · Contrast checker → · Palette generator →

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