#2C2B87#2C2B87

#2C2B87 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.5% C 0.149 H 276.2°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#2C2B87
RGBrgb(44, 43, 135)
HSLhsl(241, 52%, 35%)
HSVhsv(241, 68%, 53%)
CMYKcmyk(67.4%, 68.1%, 0%, 47.1%)
CIE-LABlab(23.71, 30.91, -51.26)
CIE-LCHlch(23.71, 59.86, 301.09°)
OKLaboklab(35.52% 0.016 -0.1479)
OKLCHoklch(35.52% 0.149 276.2)
XYZxyz(6.2743, 4.0120, 23.3607)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2B87 #86872B
analogous
#2B5887 #2C2B87 #5A2B87
triadic
#2C2B87 #872C2B #2B872C
tetradic
#2C2B87 #872B58 #86872B #2B875A
square
#2C2B87 #872B58 #86872B #2B875A
split-complementary
#2C2B87 #875A2B #58872B
monochromatic
#0E0D2A #1D1C59 #2C2B87 #3B3AB5 #6160CC

Accessibility & contrast

On white

11.65
#2C2B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2B87
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2B87#FFFFFF#000000##FFFFFF
##2C2B871.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8A
Deuteranopia (green-blind)
#003485
Tritanopia (blue-blind)
#004355
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2c2b87;
/* rgb */ color: rgb(44, 43, 135);
/* oklch */ color: oklch(35.5% 0.149 276.2);
Tailwind
colors: {
  custom: {
    50: '#7165ab',
    500: '#2c2b87',
    950: '#000000',
  },
}
SCSS
$custom: #2c2b87;
$custom-light: #7165ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2b87",
  "rgb": {
    "r": 44,
    "g": 43,
    "b": 135
  },
  "hsl": {
    "h": 240.652,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35517,
    "c": 0.14877,
    "h": 276.2
  },
  "luminance": 0.04012
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C2B87

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

Preview Lab → · Contrast checker → · Palette generator →

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