#2C2B84#2C2B84

#2C2B84 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.145 H 276.5°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#2C2B84
RGBrgb(44, 43, 132)
HSLhsl(241, 51%, 34%)
HSVhsv(241, 67%, 52%)
CMYKcmyk(66.7%, 67.4%, 0%, 48.2%)
CIE-LABlab(23.43, 29.84, -49.84)
CIE-LCHlch(23.43, 58.09, 300.91°)
OKLaboklab(35.23% 0.0163 -0.1437)
OKLCHoklch(35.23% 0.145 276.5)
XYZxyz(6.0661, 3.9287, 22.2640)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2B84 #83842B
analogous
#2B5784 #2C2B84 #592B84
triadic
#2C2B84 #842C2B #2B842C
tetradic
#2C2B84 #842B57 #83842B #2B8459
square
#2C2B84 #842B57 #83842B #2B8459
split-complementary
#2C2B84 #84592B #57842B
monochromatic
#0D0D28 #1D1C56 #2C2B84 #3B3AB2 #605FCB

Accessibility & contrast

On white

11.76
#2C2B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2C2B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2B84
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2B84#FFFFFF#000000##FFFFFF
##2C2B841.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C87
Deuteranopia (green-blind)
#003482
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2c2b84;
/* rgb */ color: rgb(44, 43, 132);
/* oklch */ color: oklch(35.2% 0.145 276.5);
Tailwind
colors: {
  custom: {
    50: '#7165a9',
    500: '#2c2b84',
    950: '#000000',
  },
}
SCSS
$custom: #2c2b84;
$custom-light: #7165a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2b84",
  "rgb": {
    "r": 44,
    "g": 43,
    "b": 132
  },
  "hsl": {
    "h": 240.674,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3523,
    "c": 0.14465,
    "h": 276.5
  },
  "luminance": 0.03929
}

Semantic roles & 50–950 ramp

primary
#2C2B84
secondary
#B0B15A
accent
#DA4DD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #2C2B84

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

Preview Lab → · Contrast checker → · Palette generator →

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