#2C2076#2C2076

#2C2076 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.139 H 281.4°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#2C2076
RGBrgb(44, 32, 118)
HSLhsl(248, 57%, 29%)
HSVhsv(248, 73%, 46%)
CMYKcmyk(62.7%, 72.9%, 0%, 53.7%)
CIE-LABlab(19.54, 31.93, -47.33)
CIE-LCHlch(19.54, 57.10, 304.00°)
OKLaboklab(32.01% 0.0276 -0.1364)
OKLCHoklch(32.01% 0.139 281.4)
XYZxyz(4.8242, 2.8762, 17.4370)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2076 #6A7620
analogous
#203F76 #2C2076 #572076
triadic
#2C2076 #762C20 #20762C
tetradic
#2C2076 #76203F #6A7620 #207657
square
#2C2076 #76203F #6A7620 #207657
split-complementary
#2C2076 #765720 #3F7620
monochromatic
#090718 #1A1346 #2C2076 #3E2DA6 #5744CC

Accessibility & contrast

On white

13.33
#2C2076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2C2076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2076
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2076#FFFFFF#000000##FFFFFF
##2C20761.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#002C74
Tritanopia (blue-blind)
#003748
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2c2076;
/* rgb */ color: rgb(44, 32, 118);
/* oklch */ color: oklch(32.0% 0.139 281.4);
Tailwind
colors: {
  custom: {
    50: '#6f5d9e',
    500: '#2c2076',
    950: '#000000',
  },
}
SCSS
$custom: #2c2076;
$custom-light: #6f5d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2076",
  "rgb": {
    "r": 44,
    "g": 32,
    "b": 118
  },
  "hsl": {
    "h": 248.372,
    "s": 57.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32014,
    "c": 0.13916,
    "h": 281.4
  },
  "luminance": 0.02877
}

Semantic roles & 50–950 ramp

primary
#2C2076
secondary
#9CA948
accent
#E147CB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #2C2076

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

Preview Lab → · Contrast checker → · Palette generator →

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