#2A1EBD#2A1EBD

#2A1EBD is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.5% C 0.228 H 272.1°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#2A1EBD
RGBrgb(42, 30, 189)
HSLhsl(245, 73%, 43%)
HSVhsv(245, 84%, 74%)
CMYKcmyk(77.8%, 84.1%, 0%, 25.9%)
CIE-LABlab(27.00, 55.34, -78.67)
CIE-LCHlch(27.00, 96.18, 305.12°)
OKLaboklab(39.53% 0.0083 -0.2275)
OKLCHoklch(39.53% 0.228 272.1)
XYZxyz(10.6013, 5.0937, 48.5587)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1EBD #B1BD1E
analogous
#1E62BD #2A1EBD #791EBD
triadic
#2A1EBD #BD2A1E #1EBD2A
tetradic
#2A1EBD #BD1E62 #B1BD1E #1EBD79
square
#2A1EBD #BD1E62 #B1BD1E #1EBD79
split-complementary
#2A1EBD #BD791E #62BD1E
monochromatic
#130D53 #1E1688 #2A1EBD #4539E0 #776DE8

Accessibility & contrast

On white

10.40
#2A1EBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2A1EBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A1EBD
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1EBD#FFFFFF#000000##FFFFFF
##2A1EBD1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047C1
Deuteranopia (green-blind)
#0038BA
Tritanopia (blue-blind)
#005271
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2a1ebd;
/* rgb */ color: rgb(42, 30, 189);
/* oklch */ color: oklch(39.5% 0.228 272.1);
Tailwind
colors: {
  custom: {
    50: '#7f60d2',
    500: '#2a1ebd',
    950: '#000000',
  },
}
SCSS
$custom: #2a1ebd;
$custom-light: #7f60d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1ebd",
  "rgb": {
    "r": 42,
    "g": 30,
    "b": 189
  },
  "hsl": {
    "h": 244.528,
    "s": 72.603,
    "l": 42.941
  },
  "oklch": {
    "l": 0.3953,
    "c": 0.2277,
    "h": 272.1
  },
  "luminance": 0.05095
}

Semantic roles & 50–950 ramp

primary
#2A1EBD
secondary
#C6CE69
accent
#EF38E2
background
#F8F5FD
surface
#F0EAFA
border
#CBC6D3
text
#0C0514
muted
#7D7983

Preview Lab

Preview with #2A1EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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