#2E1D88#2E1D88

#2E1D88 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.6% C 0.165 H 280.0°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#2E1D88
RGBrgb(46, 29, 136)
HSLhsl(250, 65%, 32%)
HSVhsv(250, 79%, 53%)
CMYKcmyk(66.2%, 78.7%, 0%, 46.7%)
CIE-LABlab(20.97, 39.84, -56.39)
CIE-LCHlch(20.97, 69.04, 305.24°)
OKLaboklab(33.63% 0.0286 -0.1628)
OKLCHoklch(33.63% 0.165 280)
XYZxyz(6.0086, 3.2367, 23.5959)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1D88 #77881D
analogous
#1D4188 #2E1D88 #641D88
triadic
#2E1D88 #882E1D #1D882E
tetradic
#2E1D88 #881D41 #77881D #1D8864
square
#2E1D88 #881D41 #77881D #1D8864
split-complementary
#2E1D88 #88641D #41881D
monochromatic
#0C0723 #1D1256 #2E1D88 #3F28BA #5E48D8

Accessibility & contrast

On white

12.75
#2E1D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2E1D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1D88
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1D88#FFFFFF#000000##FFFFFF
##2E1D881.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368B
Deuteranopia (green-blind)
#002E86
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2e1d88;
/* rgb */ color: rgb(46, 29, 136);
/* oklch */ color: oklch(33.6% 0.165 280.0);
Tailwind
colors: {
  custom: {
    50: '#745cac',
    500: '#2e1d88',
    950: '#000000',
  },
}
SCSS
$custom: #2e1d88;
$custom-light: #745cac;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1d88",
  "rgb": {
    "r": 46,
    "g": 29,
    "b": 136
  },
  "hsl": {
    "h": 249.533,
    "s": 64.848,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3363,
    "c": 0.16528,
    "h": 280
  },
  "luminance": 0.03237
}

Semantic roles & 50–950 ramp

primary
#2E1D88
secondary
#A8BA47
accent
#E840CD
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2E1D88

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

Preview Lab → · Contrast checker → · Palette generator →

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