#2E1A9F#2E1A9F

#2E1A9F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.9% C 0.195 H 276.8°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#2E1A9F
RGBrgb(46, 26, 159)
HSLhsl(249, 72%, 36%)
HSVhsv(249, 84%, 62%)
CMYKcmyk(71.1%, 83.6%, 0%, 37.6%)
CIE-LABlab(23.07, 48.41, -67.14)
CIE-LCHlch(23.07, 82.77, 305.79°)
OKLaboklab(35.86% 0.0233 -0.194)
OKLCHoklch(35.86% 0.195 276.8)
XYZxyz(7.7521, 3.8221, 33.1234)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1A9F #8B9F1A
analogous
#1A489F #2E1A9F #711A9F
triadic
#2E1A9F #9F2E1A #1A9F2E
tetradic
#2E1A9F #9F1A48 #8B9F1A #1A9F71
square
#2E1A9F #9F1A48 #8B9F1A #1A9F71
split-complementary
#2E1A9F #9F711A #489F1A
monochromatic
#100936 #1F116A #2E1A9F #3D23D4 #6751E3

Accessibility & contrast

On white

11.90
#2E1A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2E1A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1A9F
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1A9F#FFFFFF#000000##FFFFFF
##2E1A9F1.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA3
Deuteranopia (green-blind)
#00319D
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2e1a9f;
/* rgb */ color: rgb(46, 26, 159);
/* oklch */ color: oklch(35.9% 0.195 276.8);
Tailwind
colors: {
  custom: {
    50: '#795cbd',
    500: '#2e1a9f',
    950: '#000000',
  },
}
SCSS
$custom: #2e1a9f;
$custom-light: #795cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1a9f",
  "rgb": {
    "r": 46,
    "g": 26,
    "b": 159
  },
  "hsl": {
    "h": 249.023,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35861,
    "c": 0.1954,
    "h": 276.8
  },
  "luminance": 0.03823
}

Semantic roles & 50–950 ramp

primary
#2E1A9F
secondary
#B3C550
accent
#EF39D3
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2E1A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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