#2C2D86#2C2D86

#2C2D86 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.145 H 275.7°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#2C2D86
RGBrgb(44, 45, 134)
HSLhsl(239, 51%, 35%)
HSVhsv(239, 67%, 53%)
CMYKcmyk(67.2%, 66.4%, 0%, 47.5%)
CIE-LABlab(24.11, 29.25, -49.99)
CIE-LCHlch(24.11, 57.92, 300.33°)
OKLaboklab(35.78% 0.0145 -0.1442)
OKLCHoklch(35.78% 0.145 275.7)
XYZxyz(6.2788, 4.1329, 23.0165)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2D86 #86852C
analogous
#2C5A86 #2C2D86 #582C86
triadic
#2C2D86 #862C2D #2D862C
tetradic
#2C2D86 #862C5A #86852C #2C8658
square
#2C2D86 #862C5A #86852C #2C8658
split-complementary
#2C2D86 #86582C #5A862C
monochromatic
#0E0E2A #1D1E58 #2C2D86 #3B3CB4 #6162CB

Accessibility & contrast

On white

11.50
#2C2D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2C2D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2D86
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2D86#FFFFFF#000000##FFFFFF
##2C2D861.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c2d86;
/* rgb */ color: rgb(44, 45, 134);
/* oklch */ color: oklch(35.8% 0.145 275.7);
Tailwind
colors: {
  custom: {
    50: '#7166aa',
    500: '#2c2d86',
    950: '#000000',
  },
}
SCSS
$custom: #2c2d86;
$custom-light: #7166aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2d86",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 134
  },
  "hsl": {
    "h": 239.333,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35776,
    "c": 0.14489,
    "h": 275.7
  },
  "luminance": 0.04133
}

Semantic roles & 50–950 ramp

primary
#2C2D86
secondary
#B1B05C
accent
#D84EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2C2D86

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

Preview Lab → · Contrast checker → · Palette generator →

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