#2C2B80#2C2B80

#2C2B80 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.9% C 0.139 H 276.9°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#2C2B80
RGBrgb(44, 43, 128)
HSLhsl(241, 50%, 34%)
HSVhsv(241, 66%, 50%)
CMYKcmyk(65.6%, 66.4%, 0%, 49.8%)
CIE-LABlab(23.07, 28.41, -47.91)
CIE-LCHlch(23.07, 55.70, 300.67°)
OKLaboklab(34.85% 0.0167 -0.1381)
OKLCHoklch(34.85% 0.139 276.9)
XYZxyz(5.7976, 3.8213, 20.8499)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2B80 #7F802B
analogous
#2B5480 #2C2B80 #562B80
triadic
#2C2B80 #802C2B #2B802C
tetradic
#2C2B80 #802B54 #7F802B #2B8056
square
#2C2B80 #802B54 #7F802B #2B8056
split-complementary
#2C2B80 #80562B #54802B
monochromatic
#0D0C24 #1C1C52 #2C2B80 #3C3AAE #5E5DC9

Accessibility & contrast

On white

11.90
#2C2B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2C2B80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2B80
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2B80#FFFFFF#000000##FFFFFF
##2C2B801.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#00337E
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2c2b80;
/* rgb */ color: rgb(44, 43, 128);
/* oklch */ color: oklch(34.9% 0.139 276.9);
Tailwind
colors: {
  custom: {
    50: '#7064a6',
    500: '#2c2b80',
    950: '#000000',
  },
}
SCSS
$custom: #2c2b80;
$custom-light: #7064a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2b80",
  "rgb": {
    "r": 44,
    "g": 43,
    "b": 128
  },
  "hsl": {
    "h": 240.706,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34854,
    "c": 0.13909,
    "h": 276.9
  },
  "luminance": 0.03822
}

Semantic roles & 50–950 ramp

primary
#2C2B80
secondary
#ADAE58
accent
#D94FD8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F

Preview Lab

Preview with #2C2B80

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

Preview Lab → · Contrast checker → · Palette generator →

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