#2C2B86#2C2B86

#2C2B86 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.147 H 276.3°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#2C2B86
RGBrgb(44, 43, 134)
HSLhsl(241, 51%, 35%)
HSVhsv(241, 68%, 53%)
CMYKcmyk(67.2%, 67.9%, 0%, 47.5%)
CIE-LABlab(23.62, 30.55, -50.79)
CIE-LCHlch(23.62, 59.27, 301.03°)
OKLaboklab(35.42% 0.0161 -0.1465)
OKLCHoklch(35.42% 0.147 276.3)
XYZxyz(6.2043, 3.9839, 22.9917)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2B86 #85862B
analogous
#2B5886 #2C2B86 #592B86
triadic
#2C2B86 #862C2B #2B862C
tetradic
#2C2B86 #862B58 #85862B #2B8659
square
#2C2B86 #862B58 #85862B #2B8659
split-complementary
#2C2B86 #86592B #58862B
monochromatic
#0E0D29 #1D1C58 #2C2B86 #3B3AB4 #6160CC

Accessibility & contrast

On white

11.69
#2C2B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2C2B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2B86
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2B86#FFFFFF#000000##FFFFFF
##2C2B861.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003484
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2c2b86;
/* rgb */ color: rgb(44, 43, 134);
/* oklch */ color: oklch(35.4% 0.147 276.3);
Tailwind
colors: {
  custom: {
    50: '#7165aa',
    500: '#2c2b86',
    950: '#000000',
  },
}
SCSS
$custom: #2c2b86;
$custom-light: #7165aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2b86",
  "rgb": {
    "r": 44,
    "g": 43,
    "b": 134
  },
  "hsl": {
    "h": 240.659,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35421,
    "c": 0.1474,
    "h": 276.3
  },
  "luminance": 0.03984
}

Semantic roles & 50–950 ramp

primary
#2C2B86
secondary
#B1B25B
accent
#DB4DD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2C2B86

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

Preview Lab → · Contrast checker → · Palette generator →

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