#2C2ABB#2C2ABB

#2C2ABB is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.8% C 0.216 H 272.0°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#2C2ABB
RGBrgb(44, 42, 187)
HSLhsl(241, 63%, 45%)
HSVhsv(241, 78%, 73%)
CMYKcmyk(76.5%, 77.5%, 0%, 26.7%)
CIE-LABlab(28.85, 49.13, -74.42)
CIE-LCHlch(28.85, 89.17, 303.43°)
OKLaboklab(40.78% 0.0077 -0.2154)
OKLCHoklch(40.78% 0.216 272)
XYZxyz(10.8333, 5.7781, 47.5484)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2ABB #B9BB2A
analogous
#2A70BB #2C2ABB #752ABB
triadic
#2C2ABB #BB2C2A #2ABB2C
tetradic
#2C2ABB #BB2A70 #B9BB2A #2ABB75
square
#2C2ABB #BB2A70 #B9BB2A #2ABB75
split-complementary
#2C2ABB #BB752A #70BB2A
monochromatic
#141457 #201F89 #2C2ABB #4D4CD7 #7F7DE2

Accessibility & contrast

On white

9.74
#2C2ABB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2C2ABB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2ABB
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2ABB#FFFFFF#000000##FFFFFF
##2C2ABB1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBF
Deuteranopia (green-blind)
#003DB8
Tritanopia (blue-blind)
#005672
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c2abb;
/* rgb */ color: rgb(44, 42, 187);
/* oklch */ color: oklch(40.8% 0.216 272.0);
Tailwind
colors: {
  custom: {
    50: '#7e66d1',
    500: '#2c2abb',
    950: '#000000',
  },
}
SCSS
$custom: #2c2abb;
$custom-light: #7e66d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2abb",
  "rgb": {
    "r": 44,
    "g": 42,
    "b": 187
  },
  "hsl": {
    "h": 240.828,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.40777,
    "c": 0.21554,
    "h": 272
  },
  "luminance": 0.05779
}

Semantic roles & 50–950 ramp

primary
#2C2ABB
secondary
#C9CA76
accent
#E641E4
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2C2ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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