#2C2E84#2C2E84

#2C2E84 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.141 H 275.6°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#2C2E84
RGBrgb(44, 46, 132)
HSLhsl(239, 50%, 35%)
HSVhsv(239, 67%, 52%)
CMYKcmyk(66.7%, 65.2%, 0%, 48.2%)
CIE-LABlab(24.18, 27.87, -48.62)
CIE-LCHlch(24.18, 56.04, 299.82°)
OKLaboklab(35.77% 0.0138 -0.1401)
OKLCHoklch(35.77% 0.141 275.6)
XYZxyz(6.1792, 4.1549, 22.3017)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2E84 #84822C
analogous
#2C5A84 #2C2E84 #562C84
triadic
#2C2E84 #842C2E #2E842C
tetradic
#2C2E84 #842C5A #84822C #2C8456
square
#2C2E84 #842C5A #84822C #2C8456
split-complementary
#2C2E84 #84562C #5A842C
monochromatic
#0D0E28 #1D1E56 #2C2E84 #3B3EB2 #6063CA

Accessibility & contrast

On white

11.47
#2C2E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2E84
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2E84#FFFFFF#000000##FFFFFF
##2C2E841.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D87
Deuteranopia (green-blind)
#003682
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c2e84;
/* rgb */ color: rgb(44, 46, 132);
/* oklch */ color: oklch(35.8% 0.141 275.6);
Tailwind
colors: {
  custom: {
    50: '#7167a9',
    500: '#2c2e84',
    950: '#000000',
  },
}
SCSS
$custom: #2c2e84;
$custom-light: #7167a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2e84",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 132
  },
  "hsl": {
    "h": 238.636,
    "s": 50,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35773,
    "c": 0.14083,
    "h": 275.6
  },
  "luminance": 0.04155
}

Semantic roles & 50–950 ramp

primary
#2C2E84
secondary
#B0AE5C
accent
#D64EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2C2E84

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

Preview Lab → · Contrast checker → · Palette generator →

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