#2C2C86#2C2C86

#2C2C86 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.146 H 276.0°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#2C2C86
RGBrgb(44, 44, 134)
HSLhsl(240, 51%, 35%)
HSVhsv(240, 67%, 53%)
CMYKcmyk(67.2%, 67.2%, 0%, 47.5%)
CIE-LABlab(23.86, 29.90, -50.39)
CIE-LCHlch(23.86, 58.60, 300.69°)
OKLaboklab(35.6% 0.0153 -0.1453)
OKLCHoklch(35.6% 0.146 276)
XYZxyz(6.2411, 4.0575, 23.0039)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2C86 #86862C
analogous
#2C5986 #2C2C86 #592C86
triadic
#2C2C86 #862C2C #2C862C
tetradic
#2C2C86 #862C59 #86862C #2C8659
square
#2C2C86 #862C59 #86862C #2C8659
split-complementary
#2C2C86 #86592C #59862C
monochromatic
#0E0E2A #1D1D58 #2C2C86 #3B3BB4 #6161CB

Accessibility & contrast

On white

11.59
#2C2C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2C2C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2C86
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2C86#FFFFFF#000000##FFFFFF
##2C2C861.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#003584
Tritanopia (blue-blind)
#004355
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c2c86;
/* rgb */ color: rgb(44, 44, 134);
/* oklch */ color: oklch(35.6% 0.146 276.0);
Tailwind
colors: {
  custom: {
    50: '#7165aa',
    500: '#2c2c86',
    950: '#000000',
  },
}
SCSS
$custom: #2c2c86;
$custom-light: #7165aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2c86",
  "rgb": {
    "r": 44,
    "g": 44,
    "b": 134
  },
  "hsl": {
    "h": 240,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35597,
    "c": 0.14615,
    "h": 276
  },
  "luminance": 0.04058
}

Semantic roles & 50–950 ramp

primary
#2C2C86
secondary
#B1B15C
accent
#DA4EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2C2C86

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

Preview Lab → · Contrast checker → · Palette generator →

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