#202C6E#202C6E

#202C6E is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.6% C 0.115 H 270.8°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#202C6E
RGBrgb(32, 44, 110)
HSLhsl(231, 55%, 28%)
HSVhsv(231, 71%, 43%)
CMYKcmyk(70.9%, 60%, 0%, 56.9%)
CIE-LABlab(20.96, 19.00, -39.91)
CIE-LCHlch(20.96, 44.20, 295.46°)
OKLaboklab(32.59% 0.0017 -0.1149)
OKLCHoklch(32.59% 0.115 270.8)
XYZxyz(4.3099, 3.2338, 15.1459)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202C6E #6E6220
analogous
#20536E #202C6E #3B206E
triadic
#202C6E #6E202C #2C6E20
tetradic
#202C6E #6E2053 #6E6220 #206E3B
square
#202C6E #6E2053 #6E6220 #206E3B
split-complementary
#202C6E #6E3B20 #536E20
monochromatic
#070918 #12193F #202C6E #2E3F9D #4156C8

Accessibility & contrast

On white

12.75
#202C6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#202C6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #202C6E
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202C6E#FFFFFF#000000##FFFFFF
##202C6E1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003670
Deuteranopia (green-blind)
#002F6D
Tritanopia (blue-blind)
#003C48
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #202c6e;
/* rgb */ color: rgb(32, 44, 110);
/* oklch */ color: oklch(32.6% 0.115 270.8);
Tailwind
colors: {
  custom: {
    50: '#666498',
    500: '#202c6e',
    950: '#000000',
  },
}
SCSS
$custom: #202c6e;
$custom-light: #666498;
$custom-dark: #000000;
JSON
{
  "hex": "#202c6e",
  "rgb": {
    "r": 32,
    "g": 44,
    "b": 110
  },
  "hsl": {
    "h": 230.769,
    "s": 54.93,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32592,
    "c": 0.11491,
    "h": 270.8
  },
  "luminance": 0.03234
}

Semantic roles & 50–950 ramp

primary
#202C6E
secondary
#A29448
accent
#C74ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #202C6E

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

Preview Lab → · Contrast checker → · Palette generator →

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