#2C23AC#2C23AC

#2C23AC is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.2% C 0.204 H 273.8°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#2C23AC
RGBrgb(44, 35, 172)
HSLhsl(244, 66%, 41%)
HSVhsv(244, 80%, 67%)
CMYKcmyk(74.4%, 79.7%, 0%, 32.5%)
CIE-LABlab(25.91, 47.97, -70.33)
CIE-LCHlch(25.91, 85.13, 304.29°)
OKLaboklab(38.23% 0.0136 -0.2034)
OKLCHoklch(38.23% 0.204 273.8)
XYZxyz(9.0837, 4.7152, 39.4531)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C23AC #A3AC23
analogous
#235EAC #2C23AC #7123AC
triadic
#2C23AC #AC2C23 #23AC2C
tetradic
#2C23AC #AC235E #A3AC23 #23AC71
square
#2C23AC #AC235E #A3AC23 #23AC71
split-complementary
#2C23AC #AC7123 #5EAC23
monochromatic
#120E46 #1F1979 #2C23AC #4136D6 #7169E0

Accessibility & contrast

On white

10.81
#2C23AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2C23AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C23AC
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C23AC#FFFFFF#000000##FFFFFF
##2C23AC1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B0
Deuteranopia (green-blind)
#0037AA
Tritanopia (blue-blind)
#004D68
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2c23ac;
/* rgb */ color: rgb(44, 35, 172);
/* oklch */ color: oklch(38.2% 0.204 273.8);
Tailwind
colors: {
  custom: {
    50: '#7b61c6',
    500: '#2c23ac',
    950: '#000000',
  },
}
SCSS
$custom: #2c23ac;
$custom-light: #7b61c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c23ac",
  "rgb": {
    "r": 44,
    "g": 35,
    "b": 172
  },
  "hsl": {
    "h": 243.942,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38227,
    "c": 0.2039,
    "h": 273.8
  },
  "luminance": 0.04716
}

Semantic roles & 50–950 ramp

primary
#2C23AC
secondary
#C0C664
accent
#E93FDE
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2C23AC

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

Preview Lab → · Contrast checker → · Palette generator →

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