#2C2191#2C2191

#2C2191 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.0% C 0.173 H 277.0°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#2C2191
RGBrgb(44, 33, 145)
HSLhsl(246, 63%, 35%)
HSVhsv(246, 77%, 57%)
CMYKcmyk(69.7%, 77.2%, 0%, 43.1%)
CIE-LABlab(22.54, 40.35, -59.42)
CIE-LCHlch(22.54, 71.82, 304.18°)
OKLaboklab(34.98% 0.021 -0.1717)
OKLCHoklch(34.98% 0.173 277)
XYZxyz(6.6917, 3.6669, 27.1377)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2191 #869121
analogous
#214E91 #2C2191 #642191
triadic
#2C2191 #912C21 #21912C
tetradic
#2C2191 #91214E #869121 #219164
square
#2C2191 #91214E #869121 #219164
split-complementary
#2C2191 #916421 #4E9121
monochromatic
#0E0A2D #1D165F #2C2191 #3B2CC3 #6154D8

Accessibility & contrast

On white

12.11
#2C2191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2C2191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2191
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2191#FFFFFF#000000##FFFFFF
##2C21911.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A94
Deuteranopia (green-blind)
#00318F
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2c2191;
/* rgb */ color: rgb(44, 33, 145);
/* oklch */ color: oklch(35.0% 0.173 277.0);
Tailwind
colors: {
  custom: {
    50: '#755fb2',
    500: '#2c2191',
    950: '#000000',
  },
}
SCSS
$custom: #2c2191;
$custom-light: #755fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2191",
  "rgb": {
    "r": 44,
    "g": 33,
    "b": 145
  },
  "hsl": {
    "h": 245.893,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34982,
    "c": 0.17298,
    "h": 277
  },
  "luminance": 0.03668
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C2191

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

Preview Lab → · Contrast checker → · Palette generator →

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