#2C2276#2C2276

#2C2276 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.137 H 280.9°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#2C2276
RGBrgb(44, 34, 118)
HSLhsl(247, 55%, 30%)
HSVhsv(247, 71%, 46%)
CMYKcmyk(62.7%, 71.2%, 0%, 53.7%)
CIE-LABlab(19.99, 30.69, -46.59)
CIE-LCHlch(19.99, 55.79, 303.37°)
OKLaboklab(32.34% 0.0259 -0.1342)
OKLCHoklch(32.34% 0.137 280.9)
XYZxyz(4.8797, 2.9872, 17.4555)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2276 #6C7622
analogous
#224276 #2C2276 #562276
triadic
#2C2276 #762C22 #22762C
tetradic
#2C2276 #762242 #6C7622 #227656
square
#2C2276 #762242 #6C7622 #227656
split-complementary
#2C2276 #765622 #427622
monochromatic
#090718 #1A1446 #2C2276 #3E30A6 #5848CA

Accessibility & contrast

On white

13.14
#2C2276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2C2276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2276
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2276#FFFFFF#000000##FFFFFF
##2C22761.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003379
Deuteranopia (green-blind)
#002D74
Tritanopia (blue-blind)
#003849
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2c2276;
/* rgb */ color: rgb(44, 34, 118);
/* oklch */ color: oklch(32.3% 0.137 280.9);
Tailwind
colors: {
  custom: {
    50: '#6f5e9e',
    500: '#2c2276',
    950: '#000000',
  },
}
SCSS
$custom: #2c2276;
$custom-light: #6f5e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2276",
  "rgb": {
    "r": 44,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 247.143,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32338,
    "c": 0.1367,
    "h": 280.9
  },
  "luminance": 0.02988
}

Semantic roles & 50–950 ramp

primary
#2C2276
secondary
#9EA94B
accent
#DF49CD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #2C2276

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

Preview Lab → · Contrast checker → · Palette generator →

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