#2C23C1#2C23C1

#2C23C1 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.6% C 0.228 H 272.1°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#2C23C1
RGBrgb(44, 35, 193)
HSLhsl(243, 69%, 45%)
HSVhsv(243, 82%, 76%)
CMYKcmyk(77.2%, 81.9%, 0%, 24.3%)
CIE-LABlab(28.34, 54.44, -78.79)
CIE-LCHlch(28.34, 95.77, 304.64°)
OKLaboklab(40.63% 0.0085 -0.228)
OKLCHoklch(40.63% 0.228 272.1)
XYZxyz(11.2621, 5.5866, 50.9265)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C23C1 #B8C123
analogous
#2369C1 #2C23C1 #7B23C1
triadic
#2C23C1 #C12C23 #23C12C
tetradic
#2C23C1 #C12369 #B8C123 #23C17B
square
#2C23C1 #C12369 #B8C123 #23C17B
split-complementary
#2C23C1 #C17B23 #69C123
monochromatic
#141059 #201A8D #2C23C1 #4D44DD #7E78E6

Accessibility & contrast

On white

9.92
#2C23C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2C23C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C23C1
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C23C1#FFFFFF#000000##FFFFFF
##2C23C11.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC5
Deuteranopia (green-blind)
#003BBE
Tritanopia (blue-blind)
#005674
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c23c1;
/* rgb */ color: rgb(44, 35, 193);
/* oklch */ color: oklch(40.6% 0.228 272.1);
Tailwind
colors: {
  custom: {
    50: '#8063d5',
    500: '#2c23c1',
    950: '#000000',
  },
}
SCSS
$custom: #2c23c1;
$custom-light: #8063d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c23c1",
  "rgb": {
    "r": 44,
    "g": 35,
    "b": 193
  },
  "hsl": {
    "h": 243.418,
    "s": 69.298,
    "l": 44.706
  },
  "oklch": {
    "l": 0.40627,
    "c": 0.22814,
    "h": 272.1
  },
  "luminance": 0.05588
}

Semantic roles & 50–950 ramp

primary
#2C23C1
secondary
#C9CE72
accent
#EC3CE2
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #2C23C1

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

Preview Lab → · Contrast checker → · Palette generator →

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