#2C2282#2C2282

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

Color values

HEX#2C2282
RGBrgb(44, 34, 130)
HSLhsl(246, 59%, 32%)
HSVhsv(246, 74%, 51%)
CMYKcmyk(66.2%, 73.8%, 0%, 49%)
CIE-LABlab(21.17, 34.78, -52.29)
CIE-LCHlch(21.17, 62.80, 303.63°)
OKLaboklab(33.54% 0.0237 -0.1509)
OKLCHoklch(33.54% 0.153 278.9)
XYZxyz(5.6387, 3.2908, 21.4528)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2282 #788222
analogous
#224882 #2C2282 #5C2282
triadic
#2C2282 #822C22 #22822C
tetradic
#2C2282 #822248 #788222 #22825C
square
#2C2282 #822248 #788222 #22825C
split-complementary
#2C2282 #825C22 #488222
monochromatic
#0B0921 #1C1551 #2C2282 #3C2FB3 #5B4ED1

Accessibility & contrast

On white

12.66
#2C2282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2282
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2282#FFFFFF#000000##FFFFFF
##2C22821.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003785
Deuteranopia (green-blind)
#002F80
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2c2282;
/* rgb */ color: rgb(44, 34, 130);
/* oklch */ color: oklch(33.5% 0.153 278.9);
Tailwind
colors: {
  custom: {
    50: '#715ea7',
    500: '#2c2282',
    950: '#000000',
  },
}
SCSS
$custom: #2c2282;
$custom-light: #715ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2282",
  "rgb": {
    "r": 44,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 246.25,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33543,
    "c": 0.15275,
    "h": 278.9
  },
  "luminance": 0.03291
}

Semantic roles & 50–950 ramp

primary
#2C2282
secondary
#A9B44C
accent
#E246D2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2C2282

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

Preview Lab → · Contrast checker → · Palette generator →

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