#2B1A88#2B1A88

#2B1A88 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.0% C 0.169 H 278.8°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#2B1A88
RGBrgb(43, 26, 136)
HSLhsl(249, 68%, 32%)
HSVhsv(249, 81%, 53%)
CMYKcmyk(68.4%, 80.9%, 0%, 46.7%)
CIE-LABlab(20.16, 41.07, -57.73)
CIE-LCHlch(20.16, 70.85, 305.43°)
OKLaboklab(33% 0.0258 -0.1667)
OKLCHoklch(33% 0.169 278.8)
XYZxyz(5.8082, 3.0295, 23.5664)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1A88 #77881A
analogous
#1A4088 #2B1A88 #621A88
triadic
#2B1A88 #882B1A #1A882B
tetradic
#2B1A88 #881A40 #77881A #1A8862
square
#2B1A88 #881A40 #77881A #1A8862
split-complementary
#2B1A88 #88621A #40881A
monochromatic
#0B0621 #1B1055 #2B1A88 #3B24BB #5942DB

Accessibility & contrast

On white

13.08
#2B1A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B1A88
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1A88#FFFFFF#000000##FFFFFF
##2B1A881.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358B
Deuteranopia (green-blind)
#002C86
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2b1a88;
/* rgb */ color: rgb(43, 26, 136);
/* oklch */ color: oklch(33.0% 0.169 278.8);
Tailwind
colors: {
  custom: {
    50: '#735aac',
    500: '#2b1a88',
    950: '#000000',
  },
}
SCSS
$custom: #2b1a88;
$custom-light: #735aac;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1a88",
  "rgb": {
    "r": 43,
    "g": 26,
    "b": 136
  },
  "hsl": {
    "h": 249.273,
    "s": 67.901,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33001,
    "c": 0.16872,
    "h": 278.8
  },
  "luminance": 0.0303
}

Semantic roles & 50–950 ramp

primary
#2B1A88
secondary
#A9BB43
accent
#EB3DD0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2B1A88

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

Preview Lab → · Contrast checker → · Palette generator →

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