#2B1E83#2B1E83

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

Color values

HEX#2B1E83
RGBrgb(43, 30, 131)
HSLhsl(248, 63%, 32%)
HSVhsv(248, 77%, 51%)
CMYKcmyk(67.2%, 77.1%, 0%, 48.6%)
CIE-LABlab(20.36, 37.31, -54.25)
CIE-LCHlch(20.36, 65.85, 304.52°)
OKLaboklab(32.98% 0.0248 -0.1567)
OKLCHoklch(32.98% 0.159 279)
XYZxyz(5.5560, 3.0804, 21.7701)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1E83 #76831E
analogous
#1E4483 #2B1E83 #5E1E83
triadic
#2B1E83 #832B1E #1E832B
tetradic
#2B1E83 #831E44 #76831E #1E835E
square
#2B1E83 #831E44 #76831E #1E835E
split-complementary
#2B1E83 #835E1E #44831E
monochromatic
#0A071F #1B1351 #2B1E83 #3B29B5 #5947D5

Accessibility & contrast

On white

12.99
#2B1E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2B1E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1E83
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1E83#FFFFFF#000000##FFFFFF
##2B1E831.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.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: #2b1e83;
/* rgb */ color: rgb(43, 30, 131);
/* oklch */ color: oklch(33.0% 0.159 279.0);
Tailwind
colors: {
  custom: {
    50: '#715ca8',
    500: '#2b1e83',
    950: '#000000',
  },
}
SCSS
$custom: #2b1e83;
$custom-light: #715ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1e83",
  "rgb": {
    "r": 43,
    "g": 30,
    "b": 131
  },
  "hsl": {
    "h": 247.723,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32979,
    "c": 0.1586,
    "h": 279
  },
  "luminance": 0.03081
}

Semantic roles & 50–950 ramp

primary
#2B1E83
secondary
#A8B647
accent
#E642D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2B1E83

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

Preview Lab → · Contrast checker → · Palette generator →

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