#2C2292#2C2292

#2C2292 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.173 H 276.7°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#2C2292
RGBrgb(44, 34, 146)
HSLhsl(245, 62%, 35%)
HSVhsv(245, 77%, 57%)
CMYKcmyk(69.9%, 76.7%, 0%, 42.7%)
CIE-LABlab(22.84, 40.12, -59.54)
CIE-LCHlch(22.84, 71.79, 303.97°)
OKLaboklab(35.23% 0.0202 -0.1721)
OKLCHoklch(35.23% 0.173 276.7)
XYZxyz(6.7973, 3.7542, 27.5550)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2292 #889222
analogous
#225092 #2C2292 #642292
triadic
#2C2292 #922C22 #22922C
tetradic
#2C2292 #922250 #889222 #229264
square
#2C2292 #922250 #889222 #229264
split-complementary
#2C2292 #926422 #509222
monochromatic
#0E0B2F #1D1660 #2C2292 #3B2EC4 #6257D8

Accessibility & contrast

On white

11.99
#2C2292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2C2292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2292
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2292#FFFFFF#000000##FFFFFF
##2C22921.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B95
Deuteranopia (green-blind)
#003290
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2c2292;
/* rgb */ color: rgb(44, 34, 146);
/* oklch */ color: oklch(35.2% 0.173 276.7);
Tailwind
colors: {
  custom: {
    50: '#755fb3',
    500: '#2c2292',
    950: '#000000',
  },
}
SCSS
$custom: #2c2292;
$custom-light: #755fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2292",
  "rgb": {
    "r": 44,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 245.357,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35228,
    "c": 0.17325,
    "h": 276.7
  },
  "luminance": 0.03755
}

Semantic roles & 50–950 ramp

primary
#2C2292
secondary
#B3BC54
accent
#E543D7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2C2292

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

Preview Lab → · Contrast checker → · Palette generator →

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