#2C2484#2C2484

#2C2484 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.1% C 0.153 H 278.2°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#2C2484
RGBrgb(44, 36, 132)
HSLhsl(245, 57%, 33%)
HSVhsv(245, 73%, 52%)
CMYKcmyk(66.7%, 72.7%, 0%, 48.2%)
CIE-LABlab(21.81, 34.25, -52.50)
CIE-LCHlch(21.81, 62.69, 303.12°)
OKLaboklab(34.06% 0.0218 -0.1515)
OKLCHoklch(34.06% 0.153 278.2)
XYZxyz(5.8331, 3.4627, 22.1863)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2484 #7C8424
analogous
#244C84 #2C2484 #5C2484
triadic
#2C2484 #842C24 #24842C
tetradic
#2C2484 #84244C #7C8424 #24845C
square
#2C2484 #84244C #7C8424 #24845C
split-complementary
#2C2484 #845C24 #4C8424
monochromatic
#0C0A24 #1C1754 #2C2484 #3C31B4 #5D52D0

Accessibility & contrast

On white

12.41
#2C2484 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2C2484 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2484
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2484#FFFFFF#000000##FFFFFF
##2C24841.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003887
Deuteranopia (green-blind)
#003082
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2c2484;
/* rgb */ color: rgb(44, 36, 132);
/* oklch */ color: oklch(34.1% 0.153 278.2);
Tailwind
colors: {
  custom: {
    50: '#7160a9',
    500: '#2c2484',
    950: '#000000',
  },
}
SCSS
$custom: #2c2484;
$custom-light: #7160a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2484",
  "rgb": {
    "r": 44,
    "g": 36,
    "b": 132
  },
  "hsl": {
    "h": 245,
    "s": 57.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34058,
    "c": 0.1531,
    "h": 278.2
  },
  "luminance": 0.03463
}

Semantic roles & 50–950 ramp

primary
#2C2484
secondary
#ACB450
accent
#E047D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2C2484

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

Preview Lab → · Contrast checker → · Palette generator →

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