#2C2492#2C2492

#2C2492 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.5% C 0.171 H 276.4°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#2C2492
RGBrgb(44, 36, 146)
HSLhsl(244, 60%, 36%)
HSVhsv(244, 75%, 57%)
CMYKcmyk(69.9%, 75.3%, 0%, 42.7%)
CIE-LABlab(23.24, 38.99, -58.87)
CIE-LCHlch(23.24, 70.61, 303.51°)
OKLaboklab(35.51% 0.0191 -0.1701)
OKLCHoklch(35.51% 0.171 276.4)
XYZxyz(6.8562, 3.8719, 27.5746)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2492 #8A9224
analogous
#245392 #2C2492 #632492
triadic
#2C2492 #922C24 #24922C
tetradic
#2C2492 #922453 #8A9224 #249263
square
#2C2492 #922453 #8A9224 #249263
split-complementary
#2C2492 #926324 #539224
monochromatic
#0E0C30 #1D1861 #2C2492 #3B30C3 #635AD6

Accessibility & contrast

On white

11.83
#2C2492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2C2492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2492
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2492#FFFFFF#000000##FFFFFF
##2C24921.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C95
Deuteranopia (green-blind)
#003390
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2c2492;
/* rgb */ color: rgb(44, 36, 146);
/* oklch */ color: oklch(35.5% 0.171 276.4);
Tailwind
colors: {
  custom: {
    50: '#7560b3',
    500: '#2c2492',
    950: '#000000',
  },
}
SCSS
$custom: #2c2492;
$custom-light: #7560b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2492",
  "rgb": {
    "r": 44,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 244.364,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35512,
    "c": 0.1712,
    "h": 276.4
  },
  "luminance": 0.03873
}

Semantic roles & 50–950 ramp

primary
#2C2492
secondary
#B4BB57
accent
#E444D8
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2C2492

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

Preview Lab → · Contrast checker → · Palette generator →

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