#2C2194#2C2194

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

Color values

HEX#2C2194
RGBrgb(44, 33, 148)
HSLhsl(246, 64%, 35%)
HSVhsv(246, 78%, 58%)
CMYKcmyk(70.3%, 77.7%, 0%, 42%)
CIE-LABlab(22.86, 41.33, -60.74)
CIE-LCHlch(22.86, 73.46, 304.23°)
OKLaboklab(35.31% 0.0203 -0.1755)
OKLCHoklch(35.31% 0.177 276.6)
XYZxyz(6.9261, 3.7607, 28.3721)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2194 #899421
analogous
#214F94 #2C2194 #652194
triadic
#2C2194 #942C21 #21942C
tetradic
#2C2194 #94214F #899421 #219465
square
#2C2194 #94214F #899421 #219465
split-complementary
#2C2194 #946521 #4F9421
monochromatic
#0E0B30 #1D1662 #2C2194 #3B2CC6 #6356D9

Accessibility & contrast

On white

11.98
#2C2194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2194
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2194#FFFFFF#000000##FFFFFF
##2C21941.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c2194;
/* rgb */ color: rgb(44, 33, 148);
/* oklch */ color: oklch(35.3% 0.177 276.6);
Tailwind
colors: {
  custom: {
    50: '#755fb5',
    500: '#2c2194',
    950: '#000000',
  },
}
SCSS
$custom: #2c2194;
$custom-light: #755fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2194",
  "rgb": {
    "r": 44,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 245.739,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35308,
    "c": 0.17671,
    "h": 276.6
  },
  "luminance": 0.03761
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C2194

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

Preview Lab → · Contrast checker → · Palette generator →

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