#2C2991#2C2991

#2C2991 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.2% C 0.165 H 275.6°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#2C2991
RGBrgb(44, 41, 145)
HSLhsl(242, 56%, 36%)
HSVhsv(242, 72%, 57%)
CMYKcmyk(69.7%, 71.7%, 0%, 43.1%)
CIE-LABlab(24.21, 35.67, -56.66)
CIE-LCHlch(24.21, 66.96, 302.19°)
OKLaboklab(36.17% 0.0161 -0.1637)
OKLCHoklch(36.17% 0.165 275.6)
XYZxyz(6.9408, 4.1651, 27.2207)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2991 #8E9129
analogous
#295A91 #2C2991 #602991
triadic
#2C2991 #912C29 #29912C
tetradic
#2C2991 #91295A #8E9129 #299160
square
#2C2991 #91295A #8E9129 #299160
split-complementary
#2C2991 #916029 #5A9129
monochromatic
#0F0E32 #1E1C61 #2C2991 #3A36C1 #6562D3

Accessibility & contrast

On white

11.46
#2C2991 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2C2991 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2991
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2991#FFFFFF#000000##FFFFFF
##2C29911.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E94
Deuteranopia (green-blind)
#00358F
Tritanopia (blue-blind)
#00465A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c2991;
/* rgb */ color: rgb(44, 41, 145);
/* oklch */ color: oklch(36.2% 0.165 275.6);
Tailwind
colors: {
  custom: {
    50: '#7464b2',
    500: '#2c2991',
    950: '#000000',
  },
}
SCSS
$custom: #2c2991;
$custom-light: #7464b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2991",
  "rgb": {
    "r": 44,
    "g": 41,
    "b": 145
  },
  "hsl": {
    "h": 241.731,
    "s": 55.914,
    "l": 36.471
  },
  "oklch": {
    "l": 0.3617,
    "c": 0.1645,
    "h": 275.6
  },
  "luminance": 0.04166
}

Semantic roles & 50–950 ramp

primary
#2C2991
secondary
#B6B85D
accent
#DF49DB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2C2991

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

Preview Lab → · Contrast checker → · Palette generator →

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