#2E1DA0#2E1DA0

#2E1DA0 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.3% C 0.194 H 276.4°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#2E1DA0
RGBrgb(46, 29, 160)
HSLhsl(248, 69%, 37%)
HSVhsv(248, 82%, 63%)
CMYKcmyk(71.2%, 81.9%, 0%, 37.3%)
CIE-LABlab(23.66, 47.34, -66.78)
CIE-LCHlch(23.66, 81.85, 305.33°)
OKLaboklab(36.3% 0.0218 -0.193)
OKLCHoklch(36.3% 0.194 276.4)
XYZxyz(7.9092, 3.9969, 33.6056)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1DA0 #8FA01D
analogous
#1D4EA0 #2E1DA0 #6F1DA0
triadic
#2E1DA0 #A02E1D #1DA02E
tetradic
#2E1DA0 #A01D4E #8FA01D #1DA06F
square
#2E1DA0 #A01D4E #8FA01D #1DA06F
split-complementary
#2E1DA0 #A06F1D #4EA01D
monochromatic
#100A38 #1F146C #2E1DA0 #3D26D4 #6957E1

Accessibility & contrast

On white

11.67
#2E1DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2E1DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1DA0
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1DA0#FFFFFF#000000##FFFFFF
##2E1DA01.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA4
Deuteranopia (green-blind)
#00339E
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e1da0;
/* rgb */ color: rgb(46, 29, 160);
/* oklch */ color: oklch(36.3% 0.194 276.4);
Tailwind
colors: {
  custom: {
    50: '#795dbd',
    500: '#2e1da0',
    950: '#000000',
  },
}
SCSS
$custom: #2e1da0;
$custom-light: #795dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1da0",
  "rgb": {
    "r": 46,
    "g": 29,
    "b": 160
  },
  "hsl": {
    "h": 247.786,
    "s": 69.312,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36301,
    "c": 0.19423,
    "h": 276.4
  },
  "luminance": 0.03998
}

Semantic roles & 50–950 ramp

primary
#2E1DA0
secondary
#B6C455
accent
#EC3CD5
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2E1DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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