#2C23AE#2C23AE

#2C23AE is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.5% C 0.206 H 273.6°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#2C23AE
RGBrgb(44, 35, 174)
HSLhsl(244, 67%, 41%)
HSVhsv(244, 80%, 68%)
CMYKcmyk(74.7%, 79.9%, 0%, 31.8%)
CIE-LABlab(26.14, 48.59, -71.15)
CIE-LCHlch(26.14, 86.16, 304.33°)
OKLaboklab(38.45% 0.0131 -0.2058)
OKLCHoklch(38.45% 0.206 273.6)
XYZxyz(9.2772, 4.7926, 40.4723)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C23AE #A5AE23
analogous
#235FAE #2C23AE #7123AE
triadic
#2C23AE #AE2C23 #23AE2C
tetradic
#2C23AE #AE235F #A5AE23 #23AE71
square
#2C23AE #AE235F #A5AE23 #23AE71
split-complementary
#2C23AE #AE7123 #5FAE23
monochromatic
#120F48 #1F197B #2C23AE #4237D7 #726AE1

Accessibility & contrast

On white

10.72
#2C23AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2C23AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C23AE
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C23AE#FFFFFF#000000##FFFFFF
##2C23AE1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B2
Deuteranopia (green-blind)
#0037AC
Tritanopia (blue-blind)
#004E69
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c23ae;
/* rgb */ color: rgb(44, 35, 174);
/* oklch */ color: oklch(38.5% 0.206 273.6);
Tailwind
colors: {
  custom: {
    50: '#7b62c8',
    500: '#2c23ae',
    950: '#000000',
  },
}
SCSS
$custom: #2c23ae;
$custom-light: #7b62c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c23ae",
  "rgb": {
    "r": 44,
    "g": 35,
    "b": 174
  },
  "hsl": {
    "h": 243.885,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38453,
    "c": 0.20626,
    "h": 273.6
  },
  "luminance": 0.04794
}

Semantic roles & 50–950 ramp

primary
#2C23AE
secondary
#C1C766
accent
#E93EDE
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2C23AE

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

Preview Lab → · Contrast checker → · Palette generator →

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