#2C2183#2C2183

#2C2183 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.5% C 0.155 H 279.0°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#2C2183
RGBrgb(44, 33, 131)
HSLhsl(247, 60%, 32%)
HSVhsv(247, 75%, 51%)
CMYKcmyk(66.4%, 74.8%, 0%, 48.6%)
CIE-LABlab(21.06, 35.71, -53.10)
CIE-LCHlch(21.06, 63.99, 303.92°)
OKLaboklab(33.5% 0.0242 -0.1533)
OKLCHoklch(33.5% 0.155 279)
XYZxyz(5.6780, 3.2614, 21.7986)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2183 #788321
analogous
#214783 #2C2183 #5D2183
triadic
#2C2183 #832C21 #21832C
tetradic
#2C2183 #832147 #788321 #21835D
square
#2C2183 #832147 #788321 #21835D
split-complementary
#2C2183 #835D21 #478321
monochromatic
#0B0821 #1C1552 #2C2183 #3C2DB4 #5B4CD2

Accessibility & contrast

On white

12.71
#2C2183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2183
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2183#FFFFFF#000000##FFFFFF
##2C21831.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003686
Deuteranopia (green-blind)
#002F81
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2c2183;
/* rgb */ color: rgb(44, 33, 131);
/* oklch */ color: oklch(33.5% 0.155 279.0);
Tailwind
colors: {
  custom: {
    50: '#725ea8',
    500: '#2c2183',
    950: '#000000',
  },
}
SCSS
$custom: #2c2183;
$custom-light: #725ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2183",
  "rgb": {
    "r": 44,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 246.735,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33495,
    "c": 0.15517,
    "h": 279
  },
  "luminance": 0.03262
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C2183

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

Preview Lab → · Contrast checker → · Palette generator →

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