#2B1C88#2B1C88

#2B1C88 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.3% C 0.167 H 278.5°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#2B1C88
RGBrgb(43, 28, 136)
HSLhsl(248, 66%, 32%)
HSVhsv(248, 79%, 53%)
CMYKcmyk(68.4%, 79.4%, 0%, 46.7%)
CIE-LABlab(20.52, 40.03, -57.14)
CIE-LCHlch(20.52, 69.76, 305.02°)
OKLaboklab(33.25% 0.0247 -0.165)
OKLCHoklch(33.25% 0.167 278.5)
XYZxyz(5.8540, 3.1212, 23.5817)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1C88 #79881C
analogous
#1C4388 #2B1C88 #611C88
triadic
#2B1C88 #882B1C #1C882B
tetradic
#2B1C88 #881C43 #79881C #1C8861
square
#2B1C88 #881C43 #79881C #1C8861
split-complementary
#2B1C88 #88611C #43881C
monochromatic
#0B0722 #1B1255 #2B1C88 #3B26BB #5A46D9

Accessibility & contrast

On white

12.93
#2B1C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B1C88
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1C88#FFFFFF#000000##FFFFFF
##2B1C881.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368B
Deuteranopia (green-blind)
#002D86
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2b1c88;
/* rgb */ color: rgb(43, 28, 136);
/* oklch */ color: oklch(33.3% 0.167 278.5);
Tailwind
colors: {
  custom: {
    50: '#735bac',
    500: '#2b1c88',
    950: '#000000',
  },
}
SCSS
$custom: #2b1c88;
$custom-light: #735bac;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1c88",
  "rgb": {
    "r": 43,
    "g": 28,
    "b": 136
  },
  "hsl": {
    "h": 248.333,
    "s": 65.854,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33253,
    "c": 0.16687,
    "h": 278.5
  },
  "luminance": 0.03122
}

Semantic roles & 50–950 ramp

primary
#2B1C88
secondary
#AABA45
accent
#E93FD1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2B1C88

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

Preview Lab → · Contrast checker → · Palette generator →

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