#202C6F#202C6F

#202C6F is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.7% C 0.116 H 270.8°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#202C6F
RGBrgb(32, 44, 111)
HSLhsl(231, 55%, 28%)
HSVhsv(231, 71%, 44%)
CMYKcmyk(71.2%, 60.4%, 0%, 56.5%)
CIE-LABlab(21.04, 19.39, -40.42)
CIE-LCHlch(21.04, 44.83, 295.63°)
OKLaboklab(32.68% 0.0017 -0.1164)
OKLCHoklch(32.68% 0.116 270.8)
XYZxyz(4.3646, 3.2557, 15.4342)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#202C6F #6F6320
analogous
#20536F #202C6F #3B206F
triadic
#202C6F #6F202C #2C6F20
tetradic
#202C6F #6F2053 #6F6320 #206F3B
square
#202C6F #6F2053 #6F6320 #206F3B
split-complementary
#202C6F #6F3B20 #536F20
monochromatic
#070918 #12193F #202C6F #2E3F9F #4156C8

Accessibility & contrast

On white

12.72
#202C6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #202C6F
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##202C6F#FFFFFF#000000##FFFFFF
##202C6F1.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003671
Deuteranopia (green-blind)
#002F6E
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #202c6f;
/* rgb */ color: rgb(32, 44, 111);
/* oklch */ color: oklch(32.7% 0.116 270.8);
Tailwind
colors: {
  custom: {
    50: '#666499',
    500: '#202c6f',
    950: '#000000',
  },
}
SCSS
$custom: #202c6f;
$custom-light: #666499;
$custom-dark: #000000;
JSON
{
  "hex": "#202c6f",
  "rgb": {
    "r": 32,
    "g": 44,
    "b": 111
  },
  "hsl": {
    "h": 230.886,
    "s": 55.245,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3268,
    "c": 0.11641,
    "h": 270.8
  },
  "luminance": 0.03256
}

Semantic roles & 50–950 ramp

primary
#202C6F
secondary
#A39548
accent
#C849DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #202C6F

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

Preview Lab → · Contrast checker → · Palette generator →

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