#202A6A#202A6A

#202A6A is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.8% C 0.112 H 271.8°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#202A6A
RGBrgb(32, 42, 106)
HSLhsl(232, 54%, 27%)
HSVhsv(232, 70%, 42%)
CMYKcmyk(69.8%, 60.4%, 0%, 58.4%)
CIE-LABlab(20.06, 18.85, -38.78)
CIE-LCHlch(20.06, 43.12, 295.93°)
OKLaboklab(31.82% 0.0035 -0.1116)
OKLCHoklch(31.82% 0.112 271.8)
XYZxyz(4.0243, 3.0032, 14.0005)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202A6A #6A6020
analogous
#204F6A #202A6A #3B206A
triadic
#202A6A #6A202A #2A6A20
tetradic
#202A6A #6A204F #6A6020 #206A3B
square
#202A6A #6A204F #6A6020 #206A3B
split-complementary
#202A6A #6A3B20 #4F6A20
monochromatic
#070918 #12173B #202A6A #2E3D99 #3F51C5

Accessibility & contrast

On white

13.12
#202A6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#202A6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202A6A
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202A6A#FFFFFF#000000##FFFFFF
##202A6A1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346C
Deuteranopia (green-blind)
#002D69
Tritanopia (blue-blind)
#003A45
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #202a6a;
/* rgb */ color: rgb(32, 42, 106);
/* oklch */ color: oklch(31.8% 0.112 271.8);
Tailwind
colors: {
  custom: {
    50: '#656395',
    500: '#202a6a',
    950: '#000000',
  },
}
SCSS
$custom: #202a6a;
$custom-light: #656395;
$custom-dark: #000000;
JSON
{
  "hex": "#202a6a",
  "rgb": {
    "r": 32,
    "g": 42,
    "b": 106
  },
  "hsl": {
    "h": 231.892,
    "s": 53.623,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31815,
    "c": 0.11165,
    "h": 271.8
  },
  "luminance": 0.03004
}

Semantic roles & 50–950 ramp

primary
#202A6A
secondary
#9E9248
accent
#C94BDD
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #202A6A

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

Preview Lab → · Contrast checker → · Palette generator →

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