#2B1E88#2B1E88

#2B1E88 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.165 H 278.2°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#2B1E88
RGBrgb(43, 30, 136)
HSLhsl(247, 64%, 33%)
HSVhsv(247, 78%, 53%)
CMYKcmyk(68.4%, 77.9%, 0%, 46.7%)
CIE-LABlab(20.90, 38.95, -56.51)
CIE-LCHlch(20.90, 68.64, 304.58°)
OKLaboklab(33.52% 0.0235 -0.1632)
OKLCHoklch(33.52% 0.165 278.2)
XYZxyz(5.9030, 3.2192, 23.5981)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1E88 #7B881E
analogous
#1E4688 #2B1E88 #601E88
triadic
#2B1E88 #882B1E #1E882B
tetradic
#2B1E88 #881E46 #7B881E #1E8860
square
#2B1E88 #881E46 #7B881E #1E8860
split-complementary
#2B1E88 #88601E #46881E
monochromatic
#0B0824 #1B1356 #2B1E88 #3B29BA #5B49D7

Accessibility & contrast

On white

12.77
#2B1E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2B1E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1E88
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1E88#FFFFFF#000000##FFFFFF
##2B1E881.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368B
Deuteranopia (green-blind)
#002E86
Tritanopia (blue-blind)
#003D52
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2b1e88;
/* rgb */ color: rgb(43, 30, 136);
/* oklch */ color: oklch(33.5% 0.165 278.2);
Tailwind
colors: {
  custom: {
    50: '#725cac',
    500: '#2b1e88',
    950: '#000000',
  },
}
SCSS
$custom: #2b1e88;
$custom-light: #725cac;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1e88",
  "rgb": {
    "r": 43,
    "g": 30,
    "b": 136
  },
  "hsl": {
    "h": 247.358,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33519,
    "c": 0.16492,
    "h": 278.2
  },
  "luminance": 0.0322
}

Semantic roles & 50–950 ramp

primary
#2B1E88
secondary
#ABB949
accent
#E741D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2B1E88

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

Preview Lab → · Contrast checker → · Palette generator →

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