#2C2192#2C2192

#2C2192 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.1% C 0.174 H 276.9°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#2C2192
RGBrgb(44, 33, 146)
HSLhsl(246, 63%, 35%)
HSVhsv(246, 77%, 57%)
CMYKcmyk(69.9%, 77.4%, 0%, 42.7%)
CIE-LABlab(22.65, 40.67, -59.86)
CIE-LCHlch(22.65, 72.37, 304.20°)
OKLaboklab(35.09% 0.0208 -0.173)
OKLCHoklch(35.09% 0.174 276.9)
XYZxyz(6.7692, 3.6979, 27.5456)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2192 #879221
analogous
#214E92 #2C2192 #652192
triadic
#2C2192 #922C21 #21922C
tetradic
#2C2192 #92214E #879221 #219265
square
#2C2192 #92214E #879221 #219265
split-complementary
#2C2192 #926521 #4E9221
monochromatic
#0E0A2E #1D1660 #2C2192 #3B2CC4 #6255D9

Accessibility & contrast

On white

12.07
#2C2192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2C2192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2192
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2192#FFFFFF#000000##FFFFFF
##2C21921.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B95
Deuteranopia (green-blind)
#003190
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2c2192;
/* rgb */ color: rgb(44, 33, 146);
/* oklch */ color: oklch(35.1% 0.174 276.9);
Tailwind
colors: {
  custom: {
    50: '#755fb3',
    500: '#2c2192',
    950: '#000000',
  },
}
SCSS
$custom: #2c2192;
$custom-light: #755fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2192",
  "rgb": {
    "r": 44,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 245.841,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3509,
    "c": 0.17423,
    "h": 276.9
  },
  "luminance": 0.03699
}

Semantic roles & 50–950 ramp

primary
#2C2192
secondary
#B2BC53
accent
#E642D6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2C2192

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

Preview Lab → · Contrast checker → · Palette generator →

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