#2C2CBA#2C2CBA

#2C2CBA is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 40.9% C 0.213 H 271.9°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#2C2CBA
RGBrgb(44, 44, 186)
HSLhsl(240, 62%, 45%)
HSVhsv(240, 76%, 73%)
CMYKcmyk(76.3%, 76.3%, 0%, 27.1%)
CIE-LABlab(29.11, 47.73, -73.39)
CIE-LCHlch(29.11, 87.54, 303.04°)
OKLaboklab(40.93% 0.0072 -0.2124)
OKLCHoklch(40.93% 0.213 271.9)
XYZxyz(10.7993, 5.8808, 47.0108)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2CBA #BABA2C
analogous
#2C73BA #2C2CBA #732CBA
triadic
#2C2CBA #BA2C2C #2CBA2C
tetradic
#2C2CBA #BA2C73 #BABA2C #2CBA73
square
#2C2CBA #BA2C73 #BABA2C #2CBA73
split-complementary
#2C2CBA #BA732C #73BA2C
monochromatic
#151557 #202089 #2C2CBA #4E4ED5 #8080E1

Accessibility & contrast

On white

9.65
#2C2CBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2C2CBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2CBA
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2CBA#FFFFFF#000000##FFFFFF
##2C2CBA1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c2cba;
/* rgb */ color: rgb(44, 44, 186);
/* oklch */ color: oklch(40.9% 0.213 271.9);
Tailwind
colors: {
  custom: {
    50: '#7d67d0',
    500: '#2c2cba',
    950: '#000000',
  },
}
SCSS
$custom: #2c2cba;
$custom-light: #7d67d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2cba",
  "rgb": {
    "r": 44,
    "g": 44,
    "b": 186
  },
  "hsl": {
    "h": 240,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.40931,
    "c": 0.21256,
    "h": 271.9
  },
  "luminance": 0.05882
}

Semantic roles & 50–950 ramp

primary
#2C2CBA
secondary
#CACA78
accent
#E543E5
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2C2CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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