#2C23AA#2C23AA

#2C23AA is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.0% C 0.202 H 274.0°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#2C23AA
RGBrgb(44, 35, 170)
HSLhsl(244, 66%, 40%)
HSVhsv(244, 79%, 67%)
CMYKcmyk(74.1%, 79.4%, 0%, 33.3%)
CIE-LABlab(25.68, 47.33, -69.50)
CIE-LCHlch(25.68, 84.09, 304.26°)
OKLaboklab(38% 0.0141 -0.201)
OKLCHoklch(38% 0.202 274)
XYZxyz(8.8930, 4.6389, 38.4491)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C23AA #A1AA23
analogous
#235DAA #2C23AA #6F23AA
triadic
#2C23AA #AA2C23 #23AA2C
tetradic
#2C23AA #AA235D #A1AA23 #23AA6F
square
#2C23AA #AA235D #A1AA23 #23AA6F
split-complementary
#2C23AA #AA6F23 #5DAA23
monochromatic
#120E44 #1F1977 #2C23AA #4035D5 #7068E0

Accessibility & contrast

On white

10.89
#2C23AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2C23AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C23AA
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C23AA#FFFFFF#000000##FFFFFF
##2C23AA1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AE
Deuteranopia (green-blind)
#0036A8
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2c23aa;
/* rgb */ color: rgb(44, 35, 170);
/* oklch */ color: oklch(38.0% 0.202 274.0);
Tailwind
colors: {
  custom: {
    50: '#7a61c5',
    500: '#2c23aa',
    950: '#000000',
  },
}
SCSS
$custom: #2c23aa;
$custom-light: #7a61c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c23aa",
  "rgb": {
    "r": 44,
    "g": 35,
    "b": 170
  },
  "hsl": {
    "h": 244,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38002,
    "c": 0.20153,
    "h": 274
  },
  "luminance": 0.0464
}

Semantic roles & 50–950 ramp

primary
#2C23AA
secondary
#BFC663
accent
#E93FDD
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2C23AA

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

Preview Lab → · Contrast checker → · Palette generator →

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