#2B1C9D#2B1C9D

#2B1C9D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.6% C 0.192 H 275.6°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#2B1C9D
RGBrgb(43, 28, 157)
HSLhsl(247, 70%, 36%)
HSVhsv(247, 82%, 62%)
CMYKcmyk(72.6%, 82.2%, 0%, 38.4%)
CIE-LABlab(22.92, 46.64, -66.18)
CIE-LCHlch(22.92, 80.96, 305.18°)
OKLaboklab(35.63% 0.0188 -0.1913)
OKLCHoklch(35.63% 0.192 275.6)
XYZxyz(7.4953, 3.7777, 32.2259)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1C9D #8E9D1C
analogous
#1C4E9D #2B1C9D #6C1C9D
triadic
#2B1C9D #9D2B1C #1C9D2B
tetradic
#2B1C9D #9D1C4E #8E9D1C #1C9D6C
square
#2B1C9D #9D1C4E #8E9D1C #1C9D6C
split-complementary
#2B1C9D #9D6C1C #4E9D1C
monochromatic
#0F0935 #1D1369 #2B1C9D #3925D1 #6353E0

Accessibility & contrast

On white

11.96
#2B1C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2B1C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1C9D
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1C9D#FFFFFF#000000##FFFFFF
##2B1C9D1.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA1
Deuteranopia (green-blind)
#00319B
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b1c9d;
/* rgb */ color: rgb(43, 28, 157);
/* oklch */ color: oklch(35.6% 0.192 275.6);
Tailwind
colors: {
  custom: {
    50: '#785dbb',
    500: '#2b1c9d',
    950: '#000000',
  },
}
SCSS
$custom: #2b1c9d;
$custom-light: #785dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1c9d",
  "rgb": {
    "r": 43,
    "g": 28,
    "b": 157
  },
  "hsl": {
    "h": 246.977,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35629,
    "c": 0.19224,
    "h": 275.6
  },
  "luminance": 0.03778
}

Semantic roles & 50–950 ramp

primary
#2B1C9D
secondary
#B6C351
accent
#ED3BD8
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2B1C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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