#2C2182#2C2182

#2C2182 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.4% C 0.154 H 279.1°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#2C2182
RGBrgb(44, 33, 130)
HSLhsl(247, 60%, 32%)
HSVhsv(247, 75%, 51%)
CMYKcmyk(66.2%, 74.6%, 0%, 49%)
CIE-LABlab(20.96, 35.37, -52.64)
CIE-LCHlch(20.96, 63.42, 303.90°)
OKLaboklab(33.39% 0.0244 -0.1519)
OKLCHoklch(33.39% 0.154 279.1)
XYZxyz(5.6105, 3.2344, 21.4434)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2182 #778221
analogous
#214782 #2C2182 #5D2182
triadic
#2C2182 #822C21 #21822C
tetradic
#2C2182 #822147 #778221 #21825D
square
#2C2182 #822147 #778221 #21825D
split-complementary
#2C2182 #825D21 #478221
monochromatic
#0B0820 #1B1551 #2C2182 #3D2DB3 #5B4CD2

Accessibility & contrast

On white

12.75
#2C2182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2C2182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2182
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2182#FFFFFF#000000##FFFFFF
##2C21821.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003685
Deuteranopia (green-blind)
#002E80
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2c2182;
/* rgb */ color: rgb(44, 33, 130);
/* oklch */ color: oklch(33.4% 0.154 279.1);
Tailwind
colors: {
  custom: {
    50: '#715ea7',
    500: '#2c2182',
    950: '#000000',
  },
}
SCSS
$custom: #2c2182;
$custom-light: #715ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2182",
  "rgb": {
    "r": 44,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 246.804,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33391,
    "c": 0.15387,
    "h": 279.1
  },
  "luminance": 0.03235
}

Semantic roles & 50–950 ramp

primary
#2C2182
secondary
#A8B44A
accent
#E345D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2C2182

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

Preview Lab → · Contrast checker → · Palette generator →

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