#2C2AB4#2C2AB4

#2C2AB4 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.0% C 0.207 H 272.5°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#2C2AB4
RGBrgb(44, 42, 180)
HSLhsl(241, 62%, 44%)
HSVhsv(241, 77%, 71%)
CMYKcmyk(75.6%, 76.7%, 0%, 29.4%)
CIE-LABlab(28.08, 46.86, -71.53)
CIE-LCHlch(28.08, 85.51, 303.23°)
OKLaboklab(40.01% 0.0091 -0.207)
OKLCHoklch(40.01% 0.207 272.5)
XYZxyz(10.1021, 5.4856, 43.6976)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2AB4 #B2B42A
analogous
#2A6DB4 #2C2AB4 #712AB4
triadic
#2C2AB4 #B42C2A #2AB42C
tetradic
#2C2AB4 #B42A6D #B2B42A #2AB471
square
#2C2AB4 #B42A6D #B2B42A #2AB471
split-complementary
#2C2AB4 #B4712A #6DB42A
monochromatic
#141351 #201E82 #2C2AB4 #4947D4 #7A79E0

Accessibility & contrast

On white

10.01
#2C2AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2C2AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2AB4
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2AB4#FFFFFF#000000##FFFFFF
##2C2AB41.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B8
Deuteranopia (green-blind)
#003BB2
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2c2ab4;
/* rgb */ color: rgb(44, 42, 180);
/* oklch */ color: oklch(40.0% 0.207 272.5);
Tailwind
colors: {
  custom: {
    50: '#7c66cc',
    500: '#2c2ab4',
    950: '#000000',
  },
}
SCSS
$custom: #2c2ab4;
$custom-light: #7c66cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2ab4",
  "rgb": {
    "r": 44,
    "g": 42,
    "b": 180
  },
  "hsl": {
    "h": 240.87,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4001,
    "c": 0.20723,
    "h": 272.5
  },
  "luminance": 0.05487
}

Semantic roles & 50–950 ramp

primary
#2C2AB4
secondary
#C6C872
accent
#E543E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2C2AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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