#2C2AB7#2C2AB7

#2C2AB7 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.3% C 0.211 H 272.3°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#2C2AB7
RGBrgb(44, 42, 183)
HSLhsl(241, 63%, 44%)
HSVhsv(241, 77%, 72%)
CMYKcmyk(76%, 77%, 0%, 28.2%)
CIE-LABlab(28.40, 47.84, -72.77)
CIE-LCHlch(28.40, 87.09, 303.32°)
OKLaboklab(40.34% 0.0085 -0.2106)
OKLCHoklch(40.34% 0.211 272.3)
XYZxyz(10.4110, 5.6092, 45.3246)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2AB7 #B5B72A
analogous
#2A6FB7 #2C2AB7 #732AB7
triadic
#2C2AB7 #B72C2A #2AB72C
tetradic
#2C2AB7 #B72A6F #B5B72A #2AB773
square
#2C2AB7 #B72A6F #B5B72A #2AB773
split-complementary
#2C2AB7 #B7732A #6FB72A
monochromatic
#141353 #201F85 #2C2AB7 #4B49D5 #7C7BE1

Accessibility & contrast

On white

9.90
#2C2AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2C2AB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2AB7
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2AB7#FFFFFF#000000##FFFFFF
##2C2AB71.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABB
Deuteranopia (green-blind)
#003CB5
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c2ab7;
/* rgb */ color: rgb(44, 42, 183);
/* oklch */ color: oklch(40.3% 0.211 272.3);
Tailwind
colors: {
  custom: {
    50: '#7d66ce',
    500: '#2c2ab7',
    950: '#000000',
  },
}
SCSS
$custom: #2c2ab7;
$custom-light: #7d66ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2ab7",
  "rgb": {
    "r": 44,
    "g": 42,
    "b": 183
  },
  "hsl": {
    "h": 240.851,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40338,
    "c": 0.2108,
    "h": 272.3
  },
  "luminance": 0.0561
}

Semantic roles & 50–950 ramp

primary
#2C2AB7
secondary
#C8C974
accent
#E642E3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2C2AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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