#2E2C87#2E2C87

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

Color values

HEX#2E2C87
RGBrgb(46, 44, 135)
HSLhsl(241, 51%, 35%)
HSVhsv(241, 67%, 53%)
CMYKcmyk(65.9%, 67.4%, 0%, 47.1%)
CIE-LABlab(24.10, 30.56, -50.62)
CIE-LCHlch(24.10, 59.13, 301.12°)
OKLaboklab(35.84% 0.0178 -0.146)
OKLCHoklch(35.84% 0.147 276.9)
XYZxyz(6.3991, 4.1309, 23.3771)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2C87 #85872C
analogous
#2C5787 #2E2C87 #5C2C87
triadic
#2E2C87 #872E2C #2C872E
tetradic
#2E2C87 #872C57 #85872C #2C875C
square
#2E2C87 #872C57 #85872C #2C875C
split-complementary
#2E2C87 #875C2C #57872C
monochromatic
#0F0E2B #1E1D59 #2E2C87 #3E3BB5 #6462CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E2C87#FFFFFF#000000##FFFFFF
##2E2C871.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)
#003D8A
Deuteranopia (green-blind)
#003585
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e2c87;
/* rgb */ color: rgb(46, 44, 135);
/* oklch */ color: oklch(35.8% 0.147 276.9);
Tailwind
colors: {
  custom: {
    50: '#7265ab',
    500: '#2e2c87',
    950: '#000000',
  },
}
SCSS
$custom: #2e2c87;
$custom-light: #7265ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2c87",
  "rgb": {
    "r": 46,
    "g": 44,
    "b": 135
  },
  "hsl": {
    "h": 241.319,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35837,
    "c": 0.14704,
    "h": 276.9
  },
  "luminance": 0.04131
}

Semantic roles & 50–950 ramp

primary
#2E2C87
secondary
#B0B25D
accent
#DA4DD7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2E2C87

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

Preview Lab → · Contrast checker → · Palette generator →

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