#2E2C86#2E2C86

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

Color values

HEX#2E2C86
RGBrgb(46, 44, 134)
HSLhsl(241, 51%, 35%)
HSVhsv(241, 67%, 53%)
CMYKcmyk(65.7%, 67.2%, 0%, 47.5%)
CIE-LABlab(24.01, 30.21, -50.14)
CIE-LCHlch(24.01, 58.54, 301.07°)
OKLaboklab(35.74% 0.0179 -0.1446)
OKLCHoklch(35.74% 0.146 277.1)
XYZxyz(6.3291, 4.1029, 23.0080)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2C86 #84862C
analogous
#2C5786 #2E2C86 #5B2C86
triadic
#2E2C86 #862E2C #2C862E
tetradic
#2E2C86 #862C57 #84862C #2C865B
square
#2E2C86 #862C57 #84862C #2C865B
split-complementary
#2E2C86 #865B2C #57862C
monochromatic
#0E0E2A #1E1D58 #2E2C86 #3E3BB4 #6461CB

Accessibility & contrast

On white

11.53
#2E2C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2E2C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2C86
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2C86#FFFFFF#000000##FFFFFF
##2E2C861.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.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: #2e2c86;
/* rgb */ color: rgb(46, 44, 134);
/* oklch */ color: oklch(35.7% 0.146 277.1);
Tailwind
colors: {
  custom: {
    50: '#7265aa',
    500: '#2e2c86',
    950: '#000000',
  },
}
SCSS
$custom: #2e2c86;
$custom-light: #7265aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2c86",
  "rgb": {
    "r": 46,
    "g": 44,
    "b": 134
  },
  "hsl": {
    "h": 241.333,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35743,
    "c": 0.14567,
    "h": 277.1
  },
  "luminance": 0.04103
}

Semantic roles & 50–950 ramp

primary
#2E2C86
secondary
#B0B15C
accent
#DA4ED7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2E2C86

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

Preview Lab → · Contrast checker → · Palette generator →

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