#2C2AB2#2C2AB2

#2C2AB2 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.8% C 0.205 H 272.7°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#2C2AB2
RGBrgb(44, 42, 178)
HSLhsl(241, 62%, 43%)
HSVhsv(241, 76%, 70%)
CMYKcmyk(75.3%, 76.4%, 0%, 30.2%)
CIE-LABlab(27.86, 46.21, -70.70)
CIE-LCHlch(27.86, 84.46, 303.17°)
OKLaboklab(39.79% 0.0095 -0.2046)
OKLCHoklch(39.79% 0.205 272.7)
XYZxyz(9.8999, 5.4047, 42.6323)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2AB2 #B0B22A
analogous
#2A6CB2 #2C2AB2 #702AB2
triadic
#2C2AB2 #B22C2A #2AB22C
tetradic
#2C2AB2 #B22A6C #B0B22A #2AB270
square
#2C2AB2 #B22A6C #B0B22A #2AB270
split-complementary
#2C2AB2 #B2702A #6CB22A
monochromatic
#14134F #201E80 #2C2AB2 #4846D3 #7977DF

Accessibility & contrast

On white

10.09
#2C2AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2C2AB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2AB2
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2AB2#FFFFFF#000000##FFFFFF
##2C2AB21.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B6
Deuteranopia (green-blind)
#003BB0
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2c2ab2;
/* rgb */ color: rgb(44, 42, 178);
/* oklch */ color: oklch(39.8% 0.205 272.7);
Tailwind
colors: {
  custom: {
    50: '#7c66ca',
    500: '#2c2ab2',
    950: '#000000',
  },
}
SCSS
$custom: #2c2ab2;
$custom-light: #7c66ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2ab2",
  "rgb": {
    "r": 44,
    "g": 42,
    "b": 178
  },
  "hsl": {
    "h": 240.882,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.39792,
    "c": 0.20482,
    "h": 272.7
  },
  "luminance": 0.05406
}

Semantic roles & 50–950 ramp

primary
#2C2AB2
secondary
#C6C771
accent
#E543E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2C2AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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