#2C217A#2C217A

#2C217A is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.6% C 0.143 H 280.5°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#2C217A
RGBrgb(44, 33, 122)
HSLhsl(247, 57%, 30%)
HSVhsv(247, 73%, 48%)
CMYKcmyk(63.9%, 73%, 0%, 52.2%)
CIE-LABlab(20.16, 32.67, -48.88)
CIE-LCHlch(20.16, 58.80, 303.76°)
OKLaboklab(32.57% 0.026 -0.1409)
OKLCHoklch(32.57% 0.143 280.5)
XYZxyz(5.0943, 3.0280, 18.7246)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C217A #6F7A21
analogous
#21427A #2C217A #58217A
triadic
#2C217A #7A2C21 #217A2C
tetradic
#2C217A #7A2142 #6F7A21 #217A58
square
#2C217A #7A2142 #6F7A21 #217A58
split-complementary
#2C217A #7A5821 #427A21
monochromatic
#09071A #1B144A #2C217A #3D2EAA #5848CD

Accessibility & contrast

On white

13.08
#2C217A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2C217A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C217A
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C217A#FFFFFF#000000##FFFFFF
##2C217A1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347D
Deuteranopia (green-blind)
#002D78
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2c217a;
/* rgb */ color: rgb(44, 33, 122);
/* oklch */ color: oklch(32.6% 0.143 280.5);
Tailwind
colors: {
  custom: {
    50: '#705da1',
    500: '#2c217a',
    950: '#000000',
  },
}
SCSS
$custom: #2c217a;
$custom-light: #705da1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c217a",
  "rgb": {
    "r": 44,
    "g": 33,
    "b": 122
  },
  "hsl": {
    "h": 247.416,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.32574,
    "c": 0.14332,
    "h": 280.5
  },
  "luminance": 0.03028
}

Semantic roles & 50–950 ramp

primary
#2C217A
secondary
#A1AD4A
accent
#E147CE
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08040F
muted
#7B797F

Preview Lab

Preview with #2C217A

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

Preview Lab → · Contrast checker → · Palette generator →

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