#2B1E76#2B1E76

#2B1E76 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.142 H 281.3°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#2B1E76
RGBrgb(43, 30, 118)
HSLhsl(249, 59%, 29%)
HSVhsv(249, 75%, 46%)
CMYKcmyk(63.6%, 74.6%, 0%, 53.7%)
CIE-LABlab(19.01, 32.99, -48.20)
CIE-LCHlch(19.01, 58.41, 304.39°)
OKLaboklab(31.61% 0.0278 -0.139)
OKLCHoklch(31.61% 0.142 281.3)
XYZxyz(4.7295, 2.7498, 17.4176)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1E76 #69761E
analogous
#1E3D76 #2B1E76 #571E76
triadic
#2B1E76 #762B1E #1E762B
tetradic
#2B1E76 #761E3D #69761E #1E7657
square
#2B1E76 #761E3D #69761E #1E7657
split-complementary
#2B1E76 #76571E #3D761E
monochromatic
#090618 #191245 #2B1E76 #3D2AA7 #5540CE

Accessibility & contrast

On white

13.55
#2B1E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#2B1E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1E76
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1E76#FFFFFF#000000##FFFFFF
##2B1E761.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003179
Deuteranopia (green-blind)
#002B74
Tritanopia (blue-blind)
#003648
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2b1e76;
/* rgb */ color: rgb(43, 30, 118);
/* oklch */ color: oklch(31.6% 0.142 281.3);
Tailwind
colors: {
  custom: {
    50: '#6f5b9e',
    500: '#2b1e76',
    950: '#000000',
  },
}
SCSS
$custom: #2b1e76;
$custom-light: #6f5b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1e76",
  "rgb": {
    "r": 43,
    "g": 30,
    "b": 118
  },
  "hsl": {
    "h": 248.864,
    "s": 59.459,
    "l": 29.02
  },
  "oklch": {
    "l": 0.31614,
    "c": 0.14172,
    "h": 281.3
  },
  "luminance": 0.0275
}

Semantic roles & 50–950 ramp

primary
#2B1E76
secondary
#9BAA46
accent
#E345CB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #2B1E76

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

Preview Lab → · Contrast checker → · Palette generator →

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