#2C2A84#2C2A84

#2C2A84 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.1% C 0.146 H 276.8°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#2C2A84
RGBrgb(44, 42, 132)
HSLhsl(241, 52%, 34%)
HSVhsv(241, 68%, 52%)
CMYKcmyk(66.7%, 68.2%, 0%, 48.2%)
CIE-LABlab(23.19, 30.49, -50.23)
CIE-LCHlch(23.19, 58.76, 301.25°)
OKLaboklab(35.06% 0.0172 -0.1449)
OKLCHoklch(35.06% 0.146 276.8)
XYZxyz(6.0302, 3.8568, 22.2520)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2A84 #82842A
analogous
#2A5584 #2C2A84 #592A84
triadic
#2C2A84 #842C2A #2A842C
tetradic
#2C2A84 #842A55 #82842A #2A8459
square
#2C2A84 #842A55 #82842A #2A8459
split-complementary
#2C2A84 #84592A #55842A
monochromatic
#0D0C27 #1D1B56 #2C2A84 #3B39B2 #5F5DCB

Accessibility & contrast

On white

11.86
#2C2A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2C2A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2A84
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2A84#FFFFFF#000000##FFFFFF
##2C2A841.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B87
Deuteranopia (green-blind)
#003382
Tritanopia (blue-blind)
#004153
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2c2a84;
/* rgb */ color: rgb(44, 42, 132);
/* oklch */ color: oklch(35.1% 0.146 276.8);
Tailwind
colors: {
  custom: {
    50: '#7164a9',
    500: '#2c2a84',
    950: '#000000',
  },
}
SCSS
$custom: #2c2a84;
$custom-light: #7164a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2a84",
  "rgb": {
    "r": 44,
    "g": 42,
    "b": 132
  },
  "hsl": {
    "h": 241.333,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35055,
    "c": 0.1459,
    "h": 276.8
  },
  "luminance": 0.03857
}

Semantic roles & 50–950 ramp

primary
#2C2A84
secondary
#AFB159
accent
#DB4DD8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2C2A84

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

Preview Lab → · Contrast checker → · Palette generator →

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