#2C2AAE#2C2AAE

#2C2AAE is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.4% C 0.200 H 273.0°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#2C2AAE
RGBrgb(44, 42, 174)
HSLhsl(241, 61%, 42%)
HSVhsv(241, 76%, 68%)
CMYKcmyk(74.7%, 75.9%, 0%, 31.8%)
CIE-LABlab(27.43, 44.90, -69.02)
CIE-LCHlch(27.43, 82.34, 303.04°)
OKLaboklab(39.36% 0.0103 -0.1997)
OKLCHoklch(39.36% 0.2 273)
XYZxyz(9.5041, 5.2464, 40.5480)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2AAE #ACAE2A
analogous
#2A6AAE #2C2AAE #6E2AAE
triadic
#2C2AAE #AE2C2A #2AAE2C
tetradic
#2C2AAE #AE2A6A #ACAE2A #2AAE6E
square
#2C2AAE #AE2A6A #ACAE2A #2AAE6E
split-complementary
#2C2AAE #AE6E2A #6AAE2A
monochromatic
#13124B #201E7D #2C2AAE #4643D2 #7675DE

Accessibility & contrast

On white

10.25
#2C2AAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2C2AAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2AAE
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2AAE#FFFFFF#000000##FFFFFF
##2C2AAE1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c2aae;
/* rgb */ color: rgb(44, 42, 174);
/* oklch */ color: oklch(39.4% 0.200 273.0);
Tailwind
colors: {
  custom: {
    50: '#7b66c7',
    500: '#2c2aae',
    950: '#000000',
  },
}
SCSS
$custom: #2c2aae;
$custom-light: #7b66c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2aae",
  "rgb": {
    "r": 44,
    "g": 42,
    "b": 174
  },
  "hsl": {
    "h": 240.909,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.39359,
    "c": 0.19999,
    "h": 273
  },
  "luminance": 0.05247
}

Semantic roles & 50–950 ramp

primary
#2C2AAE
secondary
#C4C56F
accent
#E444E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2C2AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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