#2C2996#2C2996

#2C2996 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.7% C 0.171 H 275.1°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#2C2996
RGBrgb(44, 41, 150)
HSLhsl(242, 57%, 37%)
HSVhsv(242, 73%, 59%)
CMYKcmyk(70.7%, 72.7%, 0%, 41.2%)
CIE-LABlab(24.71, 37.40, -58.92)
CIE-LCHlch(24.71, 69.79, 302.40°)
OKLaboklab(36.68% 0.0153 -0.1703)
OKLCHoklch(36.68% 0.171 275.1)
XYZxyz(7.3348, 4.3227, 29.2961)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2996 #939629
analogous
#295D96 #2C2996 #622996
triadic
#2C2996 #962C29 #29962C
tetradic
#2C2996 #96295D #939629 #299662
square
#2C2996 #96295D #939629 #299662
split-complementary
#2C2996 #966229 #5D9629
monochromatic
#100F36 #1E1C66 #2C2996 #3A36C6 #6865D5

Accessibility & contrast

On white

11.26
#2C2996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2C2996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2996
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2996#FFFFFF#000000##FFFFFF
##2C29961.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003694
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c2996;
/* rgb */ color: rgb(44, 41, 150);
/* oklch */ color: oklch(36.7% 0.171 275.1);
Tailwind
colors: {
  custom: {
    50: '#7564b6',
    500: '#2c2996',
    950: '#000000',
  },
}
SCSS
$custom: #2c2996;
$custom-light: #7564b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2996",
  "rgb": {
    "r": 44,
    "g": 41,
    "b": 150
  },
  "hsl": {
    "h": 241.651,
    "s": 57.068,
    "l": 37.451
  },
  "oklch": {
    "l": 0.3668,
    "c": 0.17099,
    "h": 275.1
  },
  "luminance": 0.04323
}

Semantic roles & 50–950 ramp

primary
#2C2996
secondary
#B8BB60
accent
#E047DC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #2C2996

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

Preview Lab → · Contrast checker → · Palette generator →

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