#2B1C85#2B1C85

#2B1C85 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.163 H 279.0°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#2B1C85
RGBrgb(43, 28, 133)
HSLhsl(249, 65%, 32%)
HSVhsv(249, 79%, 52%)
CMYKcmyk(67.7%, 78.9%, 0%, 47.8%)
CIE-LABlab(20.19, 39.07, -55.80)
CIE-LCHlch(20.19, 68.11, 305.00°)
OKLaboklab(32.92% 0.0255 -0.1611)
OKLCHoklch(32.92% 0.163 279)
XYZxyz(5.6438, 3.0371, 22.4746)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1C85 #76851C
analogous
#1C4285 #2B1C85 #601C85
triadic
#2B1C85 #852B1C #1C852B
tetradic
#2B1C85 #851C42 #76851C #1C8560
square
#2B1C85 #851C42 #76851C #1C8560
split-complementary
#2B1C85 #85601C #42851C
monochromatic
#0A0720 #1B1152 #2B1C85 #3B27B8 #5944D8

Accessibility & contrast

On white

13.06
#2B1C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B1C85
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1C85#FFFFFF#000000##FFFFFF
##2B1C851.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003588
Deuteranopia (green-blind)
#002C83
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2b1c85;
/* rgb */ color: rgb(43, 28, 133);
/* oklch */ color: oklch(32.9% 0.163 279.0);
Tailwind
colors: {
  custom: {
    50: '#725baa',
    500: '#2b1c85',
    950: '#000000',
  },
}
SCSS
$custom: #2b1c85;
$custom-light: #725baa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1c85",
  "rgb": {
    "r": 43,
    "g": 28,
    "b": 133
  },
  "hsl": {
    "h": 248.571,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32923,
    "c": 0.16314,
    "h": 279
  },
  "luminance": 0.03038
}

Semantic roles & 50–950 ramp

primary
#2B1C85
secondary
#A8B845
accent
#E840D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2B1C85

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

Preview Lab → · Contrast checker → · Palette generator →

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