#2C2886#2C2886

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

Color values

HEX#2C2886
RGBrgb(44, 40, 134)
HSLhsl(243, 54%, 34%)
HSVhsv(243, 70%, 53%)
CMYKcmyk(67.2%, 70.1%, 0%, 47.5%)
CIE-LABlab(22.91, 32.47, -51.95)
CIE-LCHlch(22.91, 61.26, 302.00°)
OKLaboklab(34.91% 0.0185 -0.1499)
OKLCHoklch(34.91% 0.151 277)
XYZxyz(6.0992, 3.7738, 22.9566)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2886 #828628
analogous
#285386 #2C2886 #5B2886
triadic
#2C2886 #862C28 #28862C
tetradic
#2C2886 #862853 #828628 #28865B
square
#2C2886 #862853 #828628 #28865B
split-complementary
#2C2886 #865B28 #538628
monochromatic
#0D0C28 #1D1A57 #2C2886 #3B36B5 #5F5BCE

Accessibility & contrast

On white

11.97
#2C2886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2C2886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2886
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2886#FFFFFF#000000##FFFFFF
##2C28861.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B89
Deuteranopia (green-blind)
#003384
Tritanopia (blue-blind)
#004153
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2c2886;
/* rgb */ color: rgb(44, 40, 134);
/* oklch */ color: oklch(34.9% 0.151 277.0);
Tailwind
colors: {
  custom: {
    50: '#7263aa',
    500: '#2c2886',
    950: '#000000',
  },
}
SCSS
$custom: #2c2886;
$custom-light: #7263aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2886",
  "rgb": {
    "r": 44,
    "g": 40,
    "b": 134
  },
  "hsl": {
    "h": 242.553,
    "s": 54.023,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34908,
    "c": 0.15107,
    "h": 277
  },
  "luminance": 0.03774
}

Semantic roles & 50–950 ramp

primary
#2C2886
secondary
#AFB357
accent
#DD4AD7
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2C2886

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

Preview Lab → · Contrast checker → · Palette generator →

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