#2C2AAB#2C2AAB

#2C2AAB is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.0% C 0.196 H 273.2°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#2C2AAB
RGBrgb(44, 42, 171)
HSLhsl(241, 61%, 42%)
HSVhsv(241, 75%, 67%)
CMYKcmyk(74.3%, 75.4%, 0%, 32.9%)
CIE-LABlab(27.10, 43.90, -67.75)
CIE-LCHlch(27.10, 80.73, 302.94°)
OKLaboklab(39.04% 0.0109 -0.196)
OKLCHoklch(39.04% 0.196 273.2)
XYZxyz(9.2149, 5.1307, 39.0249)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2AAB #A9AB2A
analogous
#2A69AB #2C2AAB #6D2AAB
triadic
#2C2AAB #AB2C2A #2AAB2C
tetradic
#2C2AAB #AB2A69 #A9AB2A #2AAB6D
square
#2C2AAB #AB2A69 #A9AB2A #2AAB6D
split-complementary
#2C2AAB #AB6D2A #69AB2A
monochromatic
#131249 #1F1E7A #2C2AAB #4442D1 #7473DD

Accessibility & contrast

On white

10.36
#2C2AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2AAB
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2AAB#FFFFFF#000000##FFFFFF
##2C2AAB1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c2aab;
/* rgb */ color: rgb(44, 42, 171);
/* oklch */ color: oklch(39.0% 0.196 273.2);
Tailwind
colors: {
  custom: {
    50: '#7a65c5',
    500: '#2c2aab',
    950: '#000000',
  },
}
SCSS
$custom: #2c2aab;
$custom-light: #7a65c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2aab",
  "rgb": {
    "r": 44,
    "g": 42,
    "b": 171
  },
  "hsl": {
    "h": 240.93,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39036,
    "c": 0.19633,
    "h": 273.2
  },
  "luminance": 0.05132
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C2AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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