#2C2184#2C2184

#2C2184 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.156 H 278.8°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#2C2184
RGBrgb(44, 33, 132)
HSLhsl(247, 60%, 32%)
HSVhsv(247, 75%, 52%)
CMYKcmyk(66.7%, 75%, 0%, 48.2%)
CIE-LABlab(21.16, 36.04, -53.56)
CIE-LCHlch(21.16, 64.56, 303.94°)
OKLaboklab(33.6% 0.024 -0.1546)
OKLCHoklch(33.6% 0.156 278.8)
XYZxyz(5.7461, 3.2887, 22.1573)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2184 #798421
analogous
#214784 #2C2184 #5E2184
triadic
#2C2184 #842C21 #21842C
tetradic
#2C2184 #842147 #798421 #21845E
square
#2C2184 #842147 #798421 #21845E
split-complementary
#2C2184 #845E21 #478421
monochromatic
#0B0922 #1C1553 #2C2184 #3C2DB5 #5C4DD2

Accessibility & contrast

On white

12.67
#2C2184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2C2184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2184
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2184#FFFFFF#000000##FFFFFF
##2C21841.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003787
Deuteranopia (green-blind)
#002F82
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2c2184;
/* rgb */ color: rgb(44, 33, 132);
/* oklch */ color: oklch(33.6% 0.156 278.8);
Tailwind
colors: {
  custom: {
    50: '#725ea9',
    500: '#2c2184',
    950: '#000000',
  },
}
SCSS
$custom: #2c2184;
$custom-light: #725ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2184",
  "rgb": {
    "r": 44,
    "g": 33,
    "b": 132
  },
  "hsl": {
    "h": 246.667,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33599,
    "c": 0.15647,
    "h": 278.8
  },
  "luminance": 0.03289
}

Semantic roles & 50–950 ramp

primary
#2C2184
secondary
#AAB64B
accent
#E345D2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2C2184

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

Preview Lab → · Contrast checker → · Palette generator →

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