#2C2ABA#2C2ABA

#2C2ABA is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.7% C 0.214 H 272.1°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#2C2ABA
RGBrgb(44, 42, 186)
HSLhsl(241, 63%, 45%)
HSVhsv(241, 77%, 73%)
CMYKcmyk(76.3%, 77.4%, 0%, 27.1%)
CIE-LABlab(28.73, 48.80, -74.01)
CIE-LCHlch(28.73, 88.65, 303.40°)
OKLaboklab(40.67% 0.0079 -0.2142)
OKLCHoklch(40.67% 0.214 272.1)
XYZxyz(10.7266, 5.7354, 46.9866)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2ABA #B8BA2A
analogous
#2A70BA #2C2ABA #742ABA
triadic
#2C2ABA #BA2C2A #2ABA2C
tetradic
#2C2ABA #BA2A70 #B8BA2A #2ABA74
square
#2C2ABA #BA2A70 #B8BA2A #2ABA74
split-complementary
#2C2ABA #BA742A #70BA2A
monochromatic
#141356 #201F88 #2C2ABA #4D4BD6 #7E7DE2

Accessibility & contrast

On white

9.78
#2C2ABA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2C2ABA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2ABA
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2ABA#FFFFFF#000000##FFFFFF
##2C2ABA1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBE
Deuteranopia (green-blind)
#003CB8
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c2aba;
/* rgb */ color: rgb(44, 42, 186);
/* oklch */ color: oklch(40.7% 0.214 272.1);
Tailwind
colors: {
  custom: {
    50: '#7e66d0',
    500: '#2c2aba',
    950: '#000000',
  },
}
SCSS
$custom: #2c2aba;
$custom-light: #7e66d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2aba",
  "rgb": {
    "r": 44,
    "g": 42,
    "b": 186
  },
  "hsl": {
    "h": 240.833,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.40667,
    "c": 0.21436,
    "h": 272.1
  },
  "luminance": 0.05737
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C2ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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