#2E1E88#2E1E88

#2E1E88 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.8% C 0.164 H 279.8°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#2E1E88
RGBrgb(46, 30, 136)
HSLhsl(249, 64%, 33%)
HSVhsv(249, 78%, 53%)
CMYKcmyk(66.2%, 77.9%, 0%, 46.7%)
CIE-LABlab(21.16, 39.30, -56.08)
CIE-LCHlch(21.16, 68.48, 305.02°)
OKLaboklab(33.76% 0.028 -0.1619)
OKLCHoklch(33.76% 0.164 279.8)
XYZxyz(6.0335, 3.2865, 23.6042)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1E88 #78881E
analogous
#1E4388 #2E1E88 #631E88
triadic
#2E1E88 #882E1E #1E882E
tetradic
#2E1E88 #881E43 #78881E #1E8863
square
#2E1E88 #881E43 #78881E #1E8863
split-complementary
#2E1E88 #88631E #43881E
monochromatic
#0C0824 #1D1356 #2E1E88 #3F29BA #5F49D7

Accessibility & contrast

On white

12.67
#2E1E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2E1E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1E88
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1E88#FFFFFF#000000##FFFFFF
##2E1E881.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378B
Deuteranopia (green-blind)
#002F86
Tritanopia (blue-blind)
#003D52
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2e1e88;
/* rgb */ color: rgb(46, 30, 136);
/* oklch */ color: oklch(33.8% 0.164 279.8);
Tailwind
colors: {
  custom: {
    50: '#745cac',
    500: '#2e1e88',
    950: '#000000',
  },
}
SCSS
$custom: #2e1e88;
$custom-light: #745cac;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1e88",
  "rgb": {
    "r": 46,
    "g": 30,
    "b": 136
  },
  "hsl": {
    "h": 249.057,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33763,
    "c": 0.16429,
    "h": 279.8
  },
  "luminance": 0.03287
}

Semantic roles & 50–950 ramp

primary
#2E1E88
secondary
#A8B949
accent
#E741CE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2E1E88

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

Preview Lab → · Contrast checker → · Palette generator →

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