#2E1CA4#2E1CA4

#2E1CA4 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.6% C 0.200 H 276.0°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#2E1CA4
RGBrgb(46, 28, 164)
HSLhsl(248, 71%, 38%)
HSVhsv(248, 83%, 64%)
CMYKcmyk(72%, 82.9%, 0%, 35.7%)
CIE-LABlab(23.97, 49.01, -68.70)
CIE-LCHlch(23.97, 84.39, 305.51°)
OKLaboklab(36.65% 0.021 -0.1986)
OKLCHoklch(36.65% 0.2 276)
XYZxyz(8.2406, 4.0909, 35.4701)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1CA4 #92A41C
analogous
#1C4EA4 #2E1CA4 #721CA4
triadic
#2E1CA4 #A42E1C #1CA42E
tetradic
#2E1CA4 #A41C4E #92A41C #1CA472
square
#2E1CA4 #A41C4E #92A41C #1CA472
split-complementary
#2E1CA4 #A4721C #4EA41C
monochromatic
#110A3B #1F1370 #2E1CA4 #3D25D8 #6A58E2

Accessibility & contrast

On white

11.55
#2E1CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2E1CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1CA4
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1CA4#FFFFFF#000000##FFFFFF
##2E1CA41.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA8
Deuteranopia (green-blind)
#0033A2
Tritanopia (blue-blind)
#004762
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e1ca4;
/* rgb */ color: rgb(46, 28, 164);
/* oklch */ color: oklch(36.6% 0.200 276.0);
Tailwind
colors: {
  custom: {
    50: '#7a5dc0',
    500: '#2e1ca4',
    950: '#000000',
  },
}
SCSS
$custom: #2e1ca4;
$custom-light: #7a5dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1ca4",
  "rgb": {
    "r": 46,
    "g": 28,
    "b": 164
  },
  "hsl": {
    "h": 247.941,
    "s": 70.833,
    "l": 37.647
  },
  "oklch": {
    "l": 0.3665,
    "c": 0.19968,
    "h": 276
  },
  "luminance": 0.04092
}

Semantic roles & 50–950 ramp

primary
#2E1CA4
secondary
#B7C656
accent
#EE3AD6
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2E1CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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