#2C27C1#2C27C1

#2C27C1 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 41.1% C 0.225 H 271.9°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#2C27C1
RGBrgb(44, 39, 193)
HSLhsl(242, 66%, 45%)
HSVhsv(242, 80%, 76%)
CMYKcmyk(77.2%, 79.8%, 0%, 24.3%)
CIE-LABlab(28.99, 52.55, -77.71)
CIE-LCHlch(28.99, 93.81, 304.06°)
OKLaboklab(41.08% 0.0074 -0.2249)
OKLCHoklch(41.08% 0.225 271.9)
XYZxyz(11.3866, 5.8355, 50.9680)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C27C1 #BCC127
analogous
#276FC1 #2C27C1 #7927C1
triadic
#2C27C1 #C12C27 #27C12C
tetradic
#2C27C1 #C1276F #BCC127 #27C179
square
#2C27C1 #C1276F #BCC127 #27C179
split-complementary
#2C27C1 #C17927 #6FC127
monochromatic
#15125B #201D8E #2C27C1 #4F4BDB #817EE5

Accessibility & contrast

On white

9.69
#2C27C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2C27C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C27C1
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C27C1#FFFFFF#000000##FFFFFF
##2C27C11.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC5
Deuteranopia (green-blind)
#003DBE
Tritanopia (blue-blind)
#005774
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c27c1;
/* rgb */ color: rgb(44, 39, 193);
/* oklch */ color: oklch(41.1% 0.225 271.9);
Tailwind
colors: {
  custom: {
    50: '#7f65d5',
    500: '#2c27c1',
    950: '#000000',
  },
}
SCSS
$custom: #2c27c1;
$custom-light: #7f65d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c27c1",
  "rgb": {
    "r": 44,
    "g": 39,
    "b": 193
  },
  "hsl": {
    "h": 241.948,
    "s": 66.379,
    "l": 45.49
  },
  "oklch": {
    "l": 0.41078,
    "c": 0.22505,
    "h": 271.9
  },
  "luminance": 0.05837
}

Semantic roles & 50–950 ramp

primary
#2C27C1
secondary
#CACD77
accent
#E93EE4
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2C27C1

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

Preview Lab → · Contrast checker → · Palette generator →

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