#2C2494#2C2494

#2C2494 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.7% C 0.174 H 276.2°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#2C2494
RGBrgb(44, 36, 148)
HSLhsl(244, 61%, 36%)
HSVhsv(244, 76%, 58%)
CMYKcmyk(70.3%, 75.7%, 0%, 42%)
CIE-LABlab(23.45, 39.65, -59.76)
CIE-LCHlch(23.45, 71.72, 303.56°)
OKLaboklab(35.72% 0.0186 -0.1727)
OKLCHoklch(35.72% 0.174 276.2)
XYZxyz(7.0131, 3.9347, 28.4011)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2494 #8C9424
analogous
#245494 #2C2494 #642494
triadic
#2C2494 #942C24 #24942C
tetradic
#2C2494 #942454 #8C9424 #249464
square
#2C2494 #942454 #8C9424 #249464
split-complementary
#2C2494 #946424 #549424
monochromatic
#0F0C32 #1D1863 #2C2494 #3B30C5 #645BD7

Accessibility & contrast

On white

11.75
#2C2494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2C2494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2494
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2494#FFFFFF#000000##FFFFFF
##2C24941.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003392
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2c2494;
/* rgb */ color: rgb(44, 36, 148);
/* oklch */ color: oklch(35.7% 0.174 276.2);
Tailwind
colors: {
  custom: {
    50: '#7561b5',
    500: '#2c2494',
    950: '#000000',
  },
}
SCSS
$custom: #2c2494;
$custom-light: #7561b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2494",
  "rgb": {
    "r": 44,
    "g": 36,
    "b": 148
  },
  "hsl": {
    "h": 244.286,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35724,
    "c": 0.17373,
    "h": 276.2
  },
  "luminance": 0.03935
}

Semantic roles & 50–950 ramp

primary
#2C2494
secondary
#B5BC58
accent
#E444D9
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2C2494

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

Preview Lab → · Contrast checker → · Palette generator →

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