#2C2AB6#2C2AB6

#2C2AB6 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.2% C 0.210 H 272.4°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#2C2AB6
RGBrgb(44, 42, 182)
HSLhsl(241, 63%, 44%)
HSVhsv(241, 77%, 71%)
CMYKcmyk(75.8%, 76.9%, 0%, 28.6%)
CIE-LABlab(28.29, 47.51, -72.36)
CIE-LCHlch(28.29, 86.56, 303.29°)
OKLaboklab(40.23% 0.0087 -0.2094)
OKLCHoklch(40.23% 0.21 272.4)
XYZxyz(10.3073, 5.5677, 44.7784)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2AB6 #B4B62A
analogous
#2A6EB6 #2C2AB6 #722AB6
triadic
#2C2AB6 #B62C2A #2AB62C
tetradic
#2C2AB6 #B62A6E #B4B62A #2AB672
square
#2C2AB6 #B62A6E #B4B62A #2AB672
split-complementary
#2C2AB6 #B6722A #6EB62A
monochromatic
#141353 #201F84 #2C2AB6 #4A48D5 #7C7AE0

Accessibility & contrast

On white

9.93
#2C2AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2C2AB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2AB6
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2AB6#FFFFFF#000000##FFFFFF
##2C2AB61.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049BA
Deuteranopia (green-blind)
#003CB4
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c2ab6;
/* rgb */ color: rgb(44, 42, 182);
/* oklch */ color: oklch(40.2% 0.210 272.4);
Tailwind
colors: {
  custom: {
    50: '#7d66cd',
    500: '#2c2ab6',
    950: '#000000',
  },
}
SCSS
$custom: #2c2ab6;
$custom-light: #7d66cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2ab6",
  "rgb": {
    "r": 44,
    "g": 42,
    "b": 182
  },
  "hsl": {
    "h": 240.857,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40228,
    "c": 0.20961,
    "h": 272.4
  },
  "luminance": 0.05569
}

Semantic roles & 50–950 ramp

primary
#2C2AB6
secondary
#C7C873
accent
#E642E3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2C2AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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