#2C2992#2C2992

#2C2992 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.166 H 275.5°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#2C2992
RGBrgb(44, 41, 146)
HSLhsl(242, 56%, 37%)
HSVhsv(242, 72%, 57%)
CMYKcmyk(69.9%, 71.9%, 0%, 42.7%)
CIE-LABlab(24.31, 36.02, -57.12)
CIE-LCHlch(24.31, 67.53, 302.23°)
OKLaboklab(36.27% 0.0159 -0.165)
OKLCHoklch(36.27% 0.166 275.5)
XYZxyz(7.0182, 4.1960, 27.6286)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2992 #8F9229
analogous
#295B92 #2C2992 #612992
triadic
#2C2992 #922C29 #29922C
tetradic
#2C2992 #92295B #8F9229 #299261
square
#2C2992 #92295B #8F9229 #299261
split-complementary
#2C2992 #926129 #5B9229
monochromatic
#0F0E32 #1E1C62 #2C2992 #3A36C2 #6662D3

Accessibility & contrast

On white

11.42
#2C2992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2C2992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2992
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2992#FFFFFF#000000##FFFFFF
##2C29921.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E95
Deuteranopia (green-blind)
#003590
Tritanopia (blue-blind)
#00465A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c2992;
/* rgb */ color: rgb(44, 41, 146);
/* oklch */ color: oklch(36.3% 0.166 275.5);
Tailwind
colors: {
  custom: {
    50: '#7464b3',
    500: '#2c2992',
    950: '#000000',
  },
}
SCSS
$custom: #2c2992;
$custom-light: #7464b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2992",
  "rgb": {
    "r": 44,
    "g": 41,
    "b": 146
  },
  "hsl": {
    "h": 241.714,
    "s": 56.15,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36271,
    "c": 0.16581,
    "h": 275.5
  },
  "luminance": 0.04197
}

Semantic roles & 50–950 ramp

primary
#2C2992
secondary
#B6B95E
accent
#DF48DB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2C2992

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

Preview Lab → · Contrast checker → · Palette generator →

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