#2C2296#2C2296

#2C2296 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.7% C 0.178 H 276.2°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#2C2296
RGBrgb(44, 34, 150)
HSLhsl(245, 63%, 36%)
HSVhsv(245, 77%, 59%)
CMYKcmyk(70.7%, 77.3%, 0%, 41.2%)
CIE-LABlab(23.27, 41.43, -61.29)
CIE-LCHlch(23.27, 73.98, 304.06°)
OKLaboklab(35.66% 0.0193 -0.1772)
OKLCHoklch(35.66% 0.178 276.2)
XYZxyz(7.1140, 3.8809, 29.2224)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2296 #8C9622
analogous
#225296 #2C2296 #662296
triadic
#2C2296 #962C22 #22962C
tetradic
#2C2296 #962252 #8C9622 #229666
square
#2C2296 #962252 #8C9622 #229666
split-complementary
#2C2296 #966622 #529622
monochromatic
#0F0B32 #1D1764 #2C2296 #3B2DC8 #6459D9

Accessibility & contrast

On white

11.82
#2C2296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2C2296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2296
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2296#FFFFFF#000000##FFFFFF
##2C22961.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C99
Deuteranopia (green-blind)
#003294
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2c2296;
/* rgb */ color: rgb(44, 34, 150);
/* oklch */ color: oklch(35.7% 0.178 276.2);
Tailwind
colors: {
  custom: {
    50: '#765fb6',
    500: '#2c2296',
    950: '#000000',
  },
}
SCSS
$custom: #2c2296;
$custom-light: #765fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2296",
  "rgb": {
    "r": 44,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 245.172,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35661,
    "c": 0.17822,
    "h": 276.2
  },
  "luminance": 0.03882
}

Semantic roles & 50–950 ramp

primary
#2C2296
secondary
#B5BE56
accent
#E642D8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2C2296

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

Preview Lab → · Contrast checker → · Palette generator →

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