#2C2C76#2C2C76

#2C2C76 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.1% C 0.123 H 277.6°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#2C2C76
RGBrgb(44, 44, 118)
HSLhsl(240, 46%, 32%)
HSVhsv(240, 63%, 46%)
CMYKcmyk(62.7%, 62.7%, 0%, 53.7%)
CIE-LABlab(22.46, 24.14, -42.56)
CIE-LCHlch(22.46, 48.93, 299.56°)
OKLaboklab(34.14% 0.0164 -0.1224)
OKLCHoklch(34.14% 0.123 277.6)
XYZxyz(5.2084, 3.6445, 17.5650)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2C76 #76762C
analogous
#2C5176 #2C2C76 #512C76
triadic
#2C2C76 #762C2C #2C762C
tetradic
#2C2C76 #762C51 #76762C #2C7651
square
#2C2C76 #762C51 #76762C #2C7651
split-complementary
#2C2C76 #76512C #51762C
monochromatic
#0B0B1D #1B1B49 #2C2C76 #3D3DA3 #5B5BC2

Accessibility & contrast

On white

12.15
#2C2C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2C2C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2C76
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2C76#FFFFFF#000000##FFFFFF
##2C2C761.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003978
Deuteranopia (green-blind)
#003375
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2c2c76;
/* rgb */ color: rgb(44, 44, 118);
/* oklch */ color: oklch(34.1% 0.123 277.6);
Tailwind
colors: {
  custom: {
    50: '#6e659e',
    500: '#2c2c76',
    950: '#000000',
  },
}
SCSS
$custom: #2c2c76;
$custom-light: #6e659e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2c76",
  "rgb": {
    "r": 44,
    "g": 44,
    "b": 118
  },
  "hsl": {
    "h": 240,
    "s": 45.679,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34135,
    "c": 0.12346,
    "h": 277.6
  },
  "luminance": 0.03645
}

Semantic roles & 50–950 ramp

primary
#2C2C76
secondary
#A7A756
accent
#D552D5
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #2C2C76

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

Preview Lab → · Contrast checker → · Palette generator →

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