#2D2CC1#2D2CC1

#2D2CC1 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.8% C 0.221 H 271.8°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#2D2CC1
RGBrgb(45, 44, 193)
HSLhsl(240, 63%, 46%)
HSVhsv(240, 77%, 76%)
CMYKcmyk(76.7%, 77.2%, 0%, 24.3%)
CIE-LABlab(29.93, 50.07, -76.16)
CIE-LCHlch(29.93, 91.14, 303.32°)
OKLaboklab(41.75% 0.0069 -0.2205)
OKLCHoklch(41.75% 0.221 271.8)
XYZxyz(11.6053, 6.2082, 51.0284)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2CC1 #C0C12C
analogous
#2C76C1 #2D2CC1 #782CC1
triadic
#2D2CC1 #C12D2C #2CC12D
tetradic
#2D2CC1 #C12C76 #C0C12C #2CC178
square
#2D2CC1 #C12C76 #C0C12C #2CC178
split-complementary
#2D2CC1 #C1782C #76C12C
monochromatic
#16155D #21218F #2D2CC1 #5353D8 #8584E3

Accessibility & contrast

On white

9.37
#2D2CC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2D2CC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2CC1
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2CC1#FFFFFF#000000##FFFFFF
##2D2CC11.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC5
Deuteranopia (green-blind)
#003FBE
Tritanopia (blue-blind)
#005976
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d2cc1;
/* rgb */ color: rgb(45, 44, 193);
/* oklch */ color: oklch(41.8% 0.221 271.8);
Tailwind
colors: {
  custom: {
    50: '#7f68d5',
    500: '#2d2cc1',
    950: '#000000',
  },
}
SCSS
$custom: #2d2cc1;
$custom-light: #7f68d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2cc1",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 193
  },
  "hsl": {
    "h": 240.403,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4175,
    "c": 0.22057,
    "h": 271.8
  },
  "luminance": 0.0621
}

Semantic roles & 50–950 ramp

primary
#2D2CC1
secondary
#CCCC7D
accent
#E642E5
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2D2CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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