#2C2AA4#2C2AA4

#2C2AA4 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.188 H 273.7°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#2C2AA4
RGBrgb(44, 42, 164)
HSLhsl(241, 59%, 40%)
HSVhsv(241, 74%, 64%)
CMYKcmyk(73.2%, 74.4%, 0%, 35.7%)
CIE-LABlab(26.36, 41.56, -64.75)
CIE-LCHlch(26.36, 76.94, 302.70°)
OKLaboklab(38.29% 0.0122 -0.1873)
OKLCHoklch(38.29% 0.188 273.7)
XYZxyz(8.5653, 4.8709, 35.6035)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2AA4 #A2A42A
analogous
#2A65A4 #2C2AA4 #692AA4
triadic
#2C2AA4 #A42C2A #2AA42C
tetradic
#2C2AA4 #A42A65 #A2A42A #2AA469
square
#2C2AA4 #A42A65 #A2A42A #2AA469
split-complementary
#2C2AA4 #A4692A #65A42A
monochromatic
#121143 #1F1E73 #2C2AA4 #403ECD #706EDA

Accessibility & contrast

On white

10.64
#2C2AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2C2AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2AA4
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2AA4#FFFFFF#000000##FFFFFF
##2C2AA41.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A8
Deuteranopia (green-blind)
#0038A2
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c2aa4;
/* rgb */ color: rgb(44, 42, 164);
/* oklch */ color: oklch(38.3% 0.188 273.7);
Tailwind
colors: {
  custom: {
    50: '#7865c0',
    500: '#2c2aa4',
    950: '#000000',
  },
}
SCSS
$custom: #2c2aa4;
$custom-light: #7865c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2aa4",
  "rgb": {
    "r": 44,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 240.984,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38291,
    "c": 0.18769,
    "h": 273.7
  },
  "luminance": 0.04872
}

Semantic roles & 50–950 ramp

primary
#2C2AA4
secondary
#BFC169
accent
#E245E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2C2AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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