#202A6C#202A6C

#202A6C is a dark, moderate blue. Relative luminance 0.030; OKLCH L 32.0% C 0.115 H 271.7°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#202A6C
RGBrgb(32, 42, 108)
HSLhsl(232, 54%, 27%)
HSVhsv(232, 70%, 42%)
CMYKcmyk(70.4%, 61.1%, 0%, 57.6%)
CIE-LABlab(20.22, 19.64, -39.81)
CIE-LCHlch(20.22, 44.38, 296.26°)
OKLaboklab(31.99% 0.0035 -0.1146)
OKLCHoklch(31.99% 0.115 271.7)
XYZxyz(4.1295, 3.0453, 14.5546)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202A6C #6C6220
analogous
#20506C #202A6C #3C206C
triadic
#202A6C #6C202A #2A6C20
tetradic
#202A6C #6C2050 #6C6220 #206C3C
square
#202A6C #6C2050 #6C6220 #206C3C
split-complementary
#202A6C #6C3C20 #506C20
monochromatic
#070918 #12183D #202A6C #2E3C9B #4052C6

Accessibility & contrast

On white

13.05
#202A6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202A6C
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202A6C#FFFFFF#000000##FFFFFF
##202A6C1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #202a6c;
/* rgb */ color: rgb(32, 42, 108);
/* oklch */ color: oklch(32.0% 0.115 271.7);
Tailwind
colors: {
  custom: {
    50: '#666397',
    500: '#202a6c',
    950: '#000000',
  },
}
SCSS
$custom: #202a6c;
$custom-light: #666397;
$custom-dark: #000000;
JSON
{
  "hex": "#202a6c",
  "rgb": {
    "r": 32,
    "g": 42,
    "b": 108
  },
  "hsl": {
    "h": 232.105,
    "s": 54.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31993,
    "c": 0.11467,
    "h": 271.7
  },
  "luminance": 0.03046
}

Semantic roles & 50–950 ramp

primary
#202A6C
secondary
#A09448
accent
#CA4ADE
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #202A6C

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

Preview Lab → · Contrast checker → · Palette generator →

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