#2C2392#2C2392

#2C2392 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.172 H 276.6°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#2C2392
RGBrgb(44, 35, 146)
HSLhsl(245, 61%, 35%)
HSVhsv(245, 76%, 57%)
CMYKcmyk(69.9%, 76%, 0%, 42.7%)
CIE-LABlab(23.04, 39.56, -59.21)
CIE-LCHlch(23.04, 71.21, 303.75°)
OKLaboklab(35.37% 0.0197 -0.1711)
OKLCHoklch(35.37% 0.172 276.6)
XYZxyz(6.8264, 3.8122, 27.5646)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2392 #899223
analogous
#235192 #2C2392 #632392
triadic
#2C2392 #922C23 #23922C
tetradic
#2C2392 #922351 #899223 #239263
square
#2C2392 #922351 #899223 #239263
split-complementary
#2C2392 #926323 #519223
monochromatic
#0E0B2F #1D1761 #2C2392 #3B2FC3 #6358D7

Accessibility & contrast

On white

11.91
#2C2392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2C2392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2392
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2392#FFFFFF#000000##FFFFFF
##2C23921.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c2392;
/* rgb */ color: rgb(44, 35, 146);
/* oklch */ color: oklch(35.4% 0.172 276.6);
Tailwind
colors: {
  custom: {
    50: '#7560b3',
    500: '#2c2392',
    950: '#000000',
  },
}
SCSS
$custom: #2c2392;
$custom-light: #7560b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2392",
  "rgb": {
    "r": 44,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 244.865,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35368,
    "c": 0.17223,
    "h": 276.6
  },
  "luminance": 0.03813
}

Semantic roles & 50–950 ramp

primary
#2C2392
secondary
#B3BB55
accent
#E443D7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2C2392

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

Preview Lab → · Contrast checker → · Palette generator →

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