#2C2196#2C2196

#2C2196 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.5% C 0.179 H 276.4°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#2C2196
RGBrgb(44, 33, 150)
HSLhsl(246, 64%, 36%)
HSVhsv(246, 78%, 59%)
CMYKcmyk(70.7%, 78%, 0%, 41.2%)
CIE-LABlab(23.08, 41.98, -61.61)
CIE-LCHlch(23.08, 74.55, 304.27°)
OKLaboklab(35.53% 0.0198 -0.1781)
OKLCHoklch(35.53% 0.179 276.4)
XYZxyz(7.0858, 3.8245, 29.2130)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2196 #8B9621
analogous
#215096 #2C2196 #662196
triadic
#2C2196 #962C21 #21962C
tetradic
#2C2196 #962150 #8B9621 #219666
square
#2C2196 #962150 #8B9621 #219666
split-complementary
#2C2196 #966621 #509621
monochromatic
#0F0B32 #1D1664 #2C2196 #3B2CC8 #6457DA

Accessibility & contrast

On white

11.90
#2C2196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2C2196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2196
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2196#FFFFFF#000000##FFFFFF
##2C21961.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c2196;
/* rgb */ color: rgb(44, 33, 150);
/* oklch */ color: oklch(35.5% 0.179 276.4);
Tailwind
colors: {
  custom: {
    50: '#765fb6',
    500: '#2c2196',
    950: '#000000',
  },
}
SCSS
$custom: #2c2196;
$custom-light: #765fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2196",
  "rgb": {
    "r": 44,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 245.641,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35526,
    "c": 0.17918,
    "h": 276.4
  },
  "luminance": 0.03825
}

Semantic roles & 50–950 ramp

primary
#2C2196
secondary
#B4BE55
accent
#E741D7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2C2196

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

Preview Lab → · Contrast checker → · Palette generator →

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