#2C2591#2C2591

#2C2591 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.6% C 0.169 H 276.3°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#2C2591
RGBrgb(44, 37, 145)
HSLhsl(244, 59%, 36%)
HSVhsv(244, 74%, 57%)
CMYKcmyk(69.7%, 74.5%, 0%, 43.1%)
CIE-LABlab(23.35, 38.07, -58.09)
CIE-LCHlch(23.35, 69.45, 303.24°)
OKLaboklab(35.55% 0.0187 -0.1678)
OKLCHoklch(35.55% 0.169 276.3)
XYZxyz(6.8094, 3.9023, 27.1769)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2591 #8A9125
analogous
#255491 #2C2591 #622591
triadic
#2C2591 #912C25 #25912C
tetradic
#2C2591 #912554 #8A9125 #259162
square
#2C2591 #912554 #8A9125 #259162
split-complementary
#2C2591 #916225 #549125
monochromatic
#0E0C2F #1D1960 #2C2591 #3B31C2 #635BD5

Accessibility & contrast

On white

11.79
#2C2591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2C2591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2591
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2591#FFFFFF#000000##FFFFFF
##2C25911.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C94
Deuteranopia (green-blind)
#00338F
Tritanopia (blue-blind)
#004459
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2c2591;
/* rgb */ color: rgb(44, 37, 145);
/* oklch */ color: oklch(35.6% 0.169 276.3);
Tailwind
colors: {
  custom: {
    50: '#7461b2',
    500: '#2c2591',
    950: '#000000',
  },
}
SCSS
$custom: #2c2591;
$custom-light: #7461b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2591",
  "rgb": {
    "r": 44,
    "g": 37,
    "b": 145
  },
  "hsl": {
    "h": 243.889,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35553,
    "c": 0.16888,
    "h": 276.3
  },
  "luminance": 0.03903
}

Semantic roles & 50–950 ramp

primary
#2C2591
secondary
#B4BA58
accent
#E345D8
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2C2591

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

Preview Lab → · Contrast checker → · Palette generator →

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