#2B1A82#2B1A82

#2B1A82 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.161 H 279.8°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#2B1A82
RGBrgb(43, 26, 130)
HSLhsl(250, 67%, 31%)
HSVhsv(250, 80%, 51%)
CMYKcmyk(66.9%, 80%, 0%, 49%)
CIE-LABlab(19.49, 39.17, -55.06)
CIE-LCHlch(19.49, 67.57, 305.42°)
OKLaboklab(32.33% 0.0275 -0.159)
OKLCHoklch(32.33% 0.161 279.8)
XYZxyz(5.3936, 2.8637, 21.3833)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1A82 #71821A
analogous
#1A3D82 #2B1A82 #5F1A82
triadic
#2B1A82 #822B1A #1A822B
tetradic
#2B1A82 #821A3D #71821A #1A825F
square
#2B1A82 #821A3D #71821A #1A825F
split-complementary
#2B1A82 #825F1A #3D821A
monochromatic
#09061C #1A104F #2B1A82 #3C24B5 #573ED8

Accessibility & contrast

On white

13.35
#2B1A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#2B1A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1A82
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1A82#FFFFFF#000000##FFFFFF
##2B1A821.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003385
Deuteranopia (green-blind)
#002B80
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2b1a82;
/* rgb */ color: rgb(43, 26, 130);
/* oklch */ color: oklch(32.3% 0.161 279.8);
Tailwind
colors: {
  custom: {
    50: '#725aa7',
    500: '#2b1a82',
    950: '#000000',
  },
}
SCSS
$custom: #2b1a82;
$custom-light: #725aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1a82",
  "rgb": {
    "r": 43,
    "g": 26,
    "b": 130
  },
  "hsl": {
    "h": 249.808,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.32333,
    "c": 0.16134,
    "h": 279.8
  },
  "luminance": 0.02864
}

Semantic roles & 50–950 ramp

primary
#2B1A82
secondary
#A3B642
accent
#EA3ECE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2B1A82

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

Preview Lab → · Contrast checker → · Palette generator →

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