#2C2384#2C2384

#2C2384 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.154 H 278.4°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#2C2384
RGBrgb(44, 35, 132)
HSLhsl(246, 58%, 33%)
HSVhsv(246, 73%, 52%)
CMYKcmyk(66.7%, 73.5%, 0%, 48.2%)
CIE-LABlab(21.59, 34.86, -52.86)
CIE-LCHlch(21.59, 63.32, 303.40°)
OKLaboklab(33.9% 0.0226 -0.1526)
OKLCHoklch(33.9% 0.154 278.4)
XYZxyz(5.8033, 3.4030, 22.1763)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2384 #7B8423
analogous
#234A84 #2C2384 #5C2384
triadic
#2C2384 #842C23 #23842C
tetradic
#2C2384 #84234A #7B8423 #23845C
square
#2C2384 #84234A #7B8423 #23845C
split-complementary
#2C2384 #845C23 #4A8423
monochromatic
#0C0923 #1C1654 #2C2384 #3C30B4 #5D51D1

Accessibility & contrast

On white

12.50
#2C2384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2C2384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2384
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2384#FFFFFF#000000##FFFFFF
##2C23841.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.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: #2c2384;
/* rgb */ color: rgb(44, 35, 132);
/* oklch */ color: oklch(33.9% 0.154 278.4);
Tailwind
colors: {
  custom: {
    50: '#725fa9',
    500: '#2c2384',
    950: '#000000',
  },
}
SCSS
$custom: #2c2384;
$custom-light: #725fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2384",
  "rgb": {
    "r": 44,
    "g": 35,
    "b": 132
  },
  "hsl": {
    "h": 245.567,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33902,
    "c": 0.15424,
    "h": 278.4
  },
  "luminance": 0.03403
}

Semantic roles & 50–950 ramp

primary
#2C2384
secondary
#ABB44E
accent
#E146D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2C2384

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

Preview Lab → · Contrast checker → · Palette generator →

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