#2C2073#2C2073

#2C2073 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.135 H 282.0°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#2C2073
RGBrgb(44, 32, 115)
HSLhsl(249, 56%, 29%)
HSVhsv(249, 72%, 45%)
CMYKcmyk(61.7%, 72.2%, 0%, 54.9%)
CIE-LABlab(19.25, 30.92, -45.88)
CIE-LCHlch(19.25, 55.33, 303.97°)
OKLaboklab(31.72% 0.0282 -0.1321)
OKLCHoklch(31.72% 0.135 282)
XYZxyz(4.6488, 2.8060, 16.5130)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2073 #677320
analogous
#203E73 #2C2073 #562073
triadic
#2C2073 #732C20 #20732C
tetradic
#2C2073 #73203E #677320 #207356
square
#2C2073 #73203E #677320 #207356
split-complementary
#2C2073 #735620 #3E7320
monochromatic
#090718 #1A1343 #2C2073 #3E2DA3 #5643CB

Accessibility & contrast

On white

13.45
#2C2073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#2C2073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2073
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2073#FFFFFF#000000##FFFFFF
##2C20731.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003176
Deuteranopia (green-blind)
#002C71
Tritanopia (blue-blind)
#003647
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2c2073;
/* rgb */ color: rgb(44, 32, 115);
/* oklch */ color: oklch(31.7% 0.135 282.0);
Tailwind
colors: {
  custom: {
    50: '#6e5d9c',
    500: '#2c2073',
    950: '#000000',
  },
}
SCSS
$custom: #2c2073;
$custom-light: #6e5d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2073",
  "rgb": {
    "r": 44,
    "g": 32,
    "b": 115
  },
  "hsl": {
    "h": 248.675,
    "s": 56.463,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31716,
    "c": 0.13511,
    "h": 282
  },
  "luminance": 0.02806
}

Semantic roles & 50–950 ramp

primary
#2C2073
secondary
#99A748
accent
#E048CA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #2C2073

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

Preview Lab → · Contrast checker → · Palette generator →

#2C2073 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva