#2A1E83#2A1E83

#2A1E83 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.159 H 278.4°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#2A1E83
RGBrgb(42, 30, 131)
HSLhsl(247, 63%, 32%)
HSVhsv(247, 77%, 51%)
CMYKcmyk(67.9%, 77.1%, 0%, 48.6%)
CIE-LABlab(20.28, 37.19, -54.40)
CIE-LCHlch(20.28, 65.89, 304.36°)
OKLaboklab(32.9% 0.0233 -0.1571)
OKLCHoklch(32.9% 0.159 278.4)
XYZxyz(5.5145, 3.0590, 21.7682)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1E83 #77831E
analogous
#1E4583 #2A1E83 #5D1E83
triadic
#2A1E83 #832A1E #1E832A
tetradic
#2A1E83 #831E45 #77831E #1E835D
square
#2A1E83 #831E45 #77831E #1E835D
split-complementary
#2A1E83 #835D1E #45831E
monochromatic
#0A071F #1A1351 #2A1E83 #3A29B5 #5847D5

Accessibility & contrast

On white

13.03
#2A1E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2A1E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A1E83
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1E83#FFFFFF#000000##FFFFFF
##2A1E831.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003586
Deuteranopia (green-blind)
#002D81
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2a1e83;
/* rgb */ color: rgb(42, 30, 131);
/* oklch */ color: oklch(32.9% 0.159 278.4);
Tailwind
colors: {
  custom: {
    50: '#715ca8',
    500: '#2a1e83',
    950: '#000000',
  },
}
SCSS
$custom: #2a1e83;
$custom-light: #715ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1e83",
  "rgb": {
    "r": 42,
    "g": 30,
    "b": 131
  },
  "hsl": {
    "h": 247.129,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32898,
    "c": 0.15881,
    "h": 278.4
  },
  "luminance": 0.03059
}

Semantic roles & 50–950 ramp

primary
#2A1E83
secondary
#A9B647
accent
#E642D2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2A1E83

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

Preview Lab → · Contrast checker → · Palette generator →

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