#202A6B#202A6B

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

Color values

HEX#202A6B
RGBrgb(32, 42, 107)
HSLhsl(232, 54%, 27%)
HSVhsv(232, 70%, 42%)
CMYKcmyk(70.1%, 60.7%, 0%, 58%)
CIE-LABlab(20.14, 19.24, -39.29)
CIE-LCHlch(20.14, 43.75, 296.09°)
OKLaboklab(31.9% 0.0035 -0.1131)
OKLCHoklch(31.9% 0.113 271.8)
XYZxyz(4.0766, 3.0242, 14.2760)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202A6B #6B6120
analogous
#20506B #202A6B #3C206B
triadic
#202A6B #6B202A #2A6B20
tetradic
#202A6B #6B2050 #6B6120 #206B3C
square
#202A6B #6B2050 #6B6120 #206B3C
split-complementary
#202A6B #6B3C20 #506B20
monochromatic
#070918 #12183C #202A6B #2E3C9A #4052C6

Accessibility & contrast

On white

13.08
#202A6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202A6B
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202A6B#FFFFFF#000000##FFFFFF
##202A6B1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346D
Deuteranopia (green-blind)
#002D6A
Tritanopia (blue-blind)
#003A46
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #202a6b;
/* rgb */ color: rgb(32, 42, 107);
/* oklch */ color: oklch(31.9% 0.113 271.8);
Tailwind
colors: {
  custom: {
    50: '#666396',
    500: '#202a6b',
    950: '#000000',
  },
}
SCSS
$custom: #202a6b;
$custom-light: #666396;
$custom-dark: #000000;
JSON
{
  "hex": "#202a6b",
  "rgb": {
    "r": 32,
    "g": 42,
    "b": 107
  },
  "hsl": {
    "h": 232,
    "s": 53.957,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31904,
    "c": 0.11316,
    "h": 271.8
  },
  "luminance": 0.03025
}

Semantic roles & 50–950 ramp

primary
#202A6B
secondary
#9F9348
accent
#CA4ADD
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #202A6B

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

Preview Lab → · Contrast checker → · Palette generator →

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