#2E1C95#2E1C95

#2E1C95 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.9% C 0.182 H 278.0°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#2E1C95
RGBrgb(46, 28, 149)
HSLhsl(249, 68%, 35%)
HSVhsv(249, 81%, 58%)
CMYKcmyk(69.1%, 81.2%, 0%, 41.6%)
CIE-LABlab(22.23, 44.43, -62.39)
CIE-LCHlch(22.23, 76.60, 305.46°)
OKLaboklab(34.94% 0.0255 -0.1802)
OKLCHoklch(34.94% 0.182 278)
XYZxyz(6.9650, 3.5807, 28.7520)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1C95 #83951C
analogous
#1C4695 #2E1C95 #6B1C95
triadic
#2E1C95 #952E1C #1C952E
tetradic
#2E1C95 #951C46 #83951C #1C956B
square
#2E1C95 #951C46 #83951C #1C956B
split-complementary
#2E1C95 #956B1C #46951C
monochromatic
#0E092E #1E1261 #2E1C95 #3E26C9 #634EDE

Accessibility & contrast

On white

12.24
#2E1C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2E1C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1C95
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1C95#FFFFFF#000000##FFFFFF
##2E1C951.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A98
Deuteranopia (green-blind)
#003093
Tritanopia (blue-blind)
#004159
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e1c95;
/* rgb */ color: rgb(46, 28, 149);
/* oklch */ color: oklch(34.9% 0.182 278.0);
Tailwind
colors: {
  custom: {
    50: '#775cb5',
    500: '#2e1c95',
    950: '#000000',
  },
}
SCSS
$custom: #2e1c95;
$custom-light: #775cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1c95",
  "rgb": {
    "r": 46,
    "g": 28,
    "b": 149
  },
  "hsl": {
    "h": 248.926,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34941,
    "c": 0.18203,
    "h": 278
  },
  "luminance": 0.03581
}

Semantic roles & 50–950 ramp

primary
#2E1C95
secondary
#AFC04D
accent
#EB3DD1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2E1C95

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

Preview Lab → · Contrast checker → · Palette generator →

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