#2C2CAC#2C2CAC

#2C2CAC is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.4% C 0.196 H 272.9°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#2C2CAC
RGBrgb(44, 44, 172)
HSLhsl(240, 59%, 42%)
HSVhsv(240, 74%, 67%)
CMYKcmyk(74.4%, 74.4%, 0%, 32.5%)
CIE-LABlab(27.61, 43.10, -67.51)
CIE-LCHlch(27.61, 80.10, 302.56°)
OKLaboklab(39.43% 0.0098 -0.1953)
OKLCHoklch(39.43% 0.196 272.9)
XYZxyz(9.3833, 5.3144, 39.5530)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2CAC #ACAC2C
analogous
#2C6CAC #2C2CAC #6C2CAC
triadic
#2C2CAC #AC2C2C #2CAC2C
tetradic
#2C2CAC #AC2C6C #ACAC2C #2CAC6C
square
#2C2CAC #AC2C6C #ACAC2C #2CAC6C
split-complementary
#2C2CAC #AC6C2C #6CAC2C
monochromatic
#13134B #20207B #2C2CAC #4646D0 #7676DC

Accessibility & contrast

On white

10.18
#2C2CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2C2CAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2CAC
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2CAC#FFFFFF#000000##FFFFFF
##2C2CAC1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B0
Deuteranopia (green-blind)
#003BAA
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c2cac;
/* rgb */ color: rgb(44, 44, 172);
/* oklch */ color: oklch(39.4% 0.196 272.9);
Tailwind
colors: {
  custom: {
    50: '#7a67c6',
    500: '#2c2cac',
    950: '#000000',
  },
}
SCSS
$custom: #2c2cac;
$custom-light: #7a67c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2cac",
  "rgb": {
    "r": 44,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 240,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.39428,
    "c": 0.19559,
    "h": 272.9
  },
  "luminance": 0.05315
}

Semantic roles & 50–950 ramp

primary
#2C2CAC
secondary
#C4C470
accent
#E245E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2C2CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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