#2C2AAC#2C2AAC

#2C2AAC is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.1% C 0.198 H 273.1°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#2C2AAC
RGBrgb(44, 42, 172)
HSLhsl(241, 61%, 42%)
HSVhsv(241, 76%, 67%)
CMYKcmyk(74.4%, 75.6%, 0%, 32.5%)
CIE-LABlab(27.21, 44.23, -68.17)
CIE-LCHlch(27.21, 81.27, 302.98°)
OKLaboklab(39.14% 0.0107 -0.1973)
OKLCHoklch(39.14% 0.198 273.1)
XYZxyz(9.3106, 5.1690, 39.5288)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2AAC #AAAC2A
analogous
#2A69AC #2C2AAC #6D2AAC
triadic
#2C2AAC #AC2C2A #2AAC2C
tetradic
#2C2AAC #AC2A69 #AAAC2A #2AAC6D
square
#2C2AAC #AC2A69 #AAAC2A #2AAC6D
split-complementary
#2C2AAC #AC6D2A #69AC2A
monochromatic
#13124A #1F1E7B #2C2AAC #4442D1 #7573DD

Accessibility & contrast

On white

10.32
#2C2AAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2C2AAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2AAC
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2AAC#FFFFFF#000000##FFFFFF
##2C2AAC1.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B0
Deuteranopia (green-blind)
#003AAA
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2c2aac;
/* rgb */ color: rgb(44, 42, 172);
/* oklch */ color: oklch(39.1% 0.198 273.1);
Tailwind
colors: {
  custom: {
    50: '#7a65c6',
    500: '#2c2aac',
    950: '#000000',
  },
}
SCSS
$custom: #2c2aac;
$custom-light: #7a65c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2aac",
  "rgb": {
    "r": 44,
    "g": 42,
    "b": 172
  },
  "hsl": {
    "h": 240.923,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39143,
    "c": 0.19755,
    "h": 273.1
  },
  "luminance": 0.0517
}

Semantic roles & 50–950 ramp

primary
#2C2AAC
secondary
#C3C46D
accent
#E444E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2C2AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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