#2C2193#2C2193

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

Color values

HEX#2C2193
RGBrgb(44, 33, 147)
HSLhsl(246, 63%, 35%)
HSVhsv(246, 78%, 58%)
CMYKcmyk(70.1%, 77.6%, 0%, 42.4%)
CIE-LABlab(22.76, 41.00, -60.30)
CIE-LCHlch(22.76, 72.92, 304.21°)
OKLaboklab(35.2% 0.0206 -0.1743)
OKLCHoklch(35.2% 0.175 276.7)
XYZxyz(6.8473, 3.7292, 27.9571)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2193 #889321
analogous
#214F93 #2C2193 #652193
triadic
#2C2193 #932C21 #21932C
tetradic
#2C2193 #93214F #889321 #219365
square
#2C2193 #93214F #889321 #219365
split-complementary
#2C2193 #936521 #4F9321
monochromatic
#0E0B2F #1D1661 #2C2193 #3B2CC5 #6255D9

Accessibility & contrast

On white

12.03
#2C2193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2193
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2193#FFFFFF#000000##FFFFFF
##2C21931.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B96
Deuteranopia (green-blind)
#003191
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2c2193;
/* rgb */ color: rgb(44, 33, 147);
/* oklch */ color: oklch(35.2% 0.175 276.7);
Tailwind
colors: {
  custom: {
    50: '#755fb4',
    500: '#2c2193',
    950: '#000000',
  },
}
SCSS
$custom: #2c2193;
$custom-light: #755fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2193",
  "rgb": {
    "r": 44,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 245.789,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35199,
    "c": 0.17548,
    "h": 276.7
  },
  "luminance": 0.0373
}

Semantic roles & 50–950 ramp

primary
#2C2193
secondary
#B3BD53
accent
#E641D6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2C2193

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

Preview Lab → · Contrast checker → · Palette generator →

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