#2C23A1#2C23A1

#2C23A1 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.0% C 0.191 H 274.9°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#2C23A1
RGBrgb(44, 35, 161)
HSLhsl(244, 64%, 38%)
HSVhsv(244, 78%, 63%)
CMYKcmyk(72.7%, 78.3%, 0%, 36.9%)
CIE-LABlab(24.67, 44.46, -65.72)
CIE-LCHlch(24.67, 79.35, 304.08°)
OKLaboklab(37% 0.0162 -0.1901)
OKLCHoklch(37% 0.191 274.9)
XYZxyz(8.0706, 4.3100, 34.1179)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C23A1 #98A123
analogous
#2359A1 #2C23A1 #6B23A1
triadic
#2C23A1 #A12C23 #23A12C
tetradic
#2C23A1 #A12359 #98A123 #23A16B
square
#2C23A1 #A12359 #98A123 #23A16B
split-complementary
#2C23A1 #A16B23 #59A123
monochromatic
#110D3C #1E186F #2C23A1 #3B2FD2 #6A62DD

Accessibility & contrast

On white

11.28
#2C23A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2C23A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C23A1
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C23A1#FFFFFF#000000##FFFFFF
##2C23A11.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A5
Deuteranopia (green-blind)
#00359F
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c23a1;
/* rgb */ color: rgb(44, 35, 161);
/* oklch */ color: oklch(37.0% 0.191 274.9);
Tailwind
colors: {
  custom: {
    50: '#7861be',
    500: '#2c23a1',
    950: '#000000',
  },
}
SCSS
$custom: #2c23a1;
$custom-light: #7861be;
$custom-dark: #000000;
JSON
{
  "hex": "#2c23a1",
  "rgb": {
    "r": 44,
    "g": 35,
    "b": 161
  },
  "hsl": {
    "h": 244.286,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37,
    "c": 0.19075,
    "h": 274.9
  },
  "luminance": 0.04311
}

Semantic roles & 50–950 ramp

primary
#2C23A1
secondary
#BBC25E
accent
#E741DB
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2C23A1

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

Preview Lab → · Contrast checker → · Palette generator →

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