#2B1AC9#2B1AC9

#2B1AC9 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.7% C 0.243 H 271.7°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#2B1AC9
RGBrgb(43, 26, 201)
HSLhsl(246, 77%, 45%)
HSVhsv(246, 87%, 79%)
CMYKcmyk(78.6%, 87.1%, 0%, 21.2%)
CIE-LABlab(28.03, 60.39, -84.02)
CIE-LCHlch(28.03, 103.47, 305.71°)
OKLaboklab(40.67% 0.0071 -0.2429)
OKLCHoklch(40.67% 0.243 271.7)
XYZxyz(11.9047, 5.4681, 55.6750)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1AC9 #B8C91A
analogous
#1A60C9 #2B1AC9 #831AC9
triadic
#2B1AC9 #C92B1A #1AC92B
tetradic
#2B1AC9 #C91A60 #B8C91A #1AC983
square
#2B1AC9 #C91A60 #B8C91A #1AC983
split-complementary
#2B1AC9 #C9831A #60C91A
monochromatic
#140C5D #1F1393 #2B1AC9 #4B3BE6 #7D71ED

Accessibility & contrast

On white

10.03
#2B1AC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2B1AC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1AC9
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1AC9#FFFFFF#000000##FFFFFF
##2B1AC91.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ACE
Deuteranopia (green-blind)
#0039C6
Tritanopia (blue-blind)
#005677
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b1ac9;
/* rgb */ color: rgb(43, 26, 201);
/* oklch */ color: oklch(40.7% 0.243 271.7);
Tailwind
colors: {
  custom: {
    50: '#825fdb',
    500: '#2b1ac9',
    950: '#000000',
  },
}
SCSS
$custom: #2b1ac9;
$custom-light: #825fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1ac9",
  "rgb": {
    "r": 43,
    "g": 26,
    "b": 201
  },
  "hsl": {
    "h": 245.829,
    "s": 77.093,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40673,
    "c": 0.24304,
    "h": 271.7
  },
  "luminance": 0.05469
}

Semantic roles & 50–950 ramp

primary
#2B1AC9
secondary
#C9D36C
accent
#F434E1
background
#F9F5FD
surface
#F1EAFB
border
#CBC6D4
text
#0D0515
muted
#7E7983

Preview Lab

Preview with #2B1AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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