#2B1CA0#2B1CA0

#2B1CA0 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 36.0% C 0.196 H 275.3°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#2B1CA0
RGBrgb(43, 28, 160)
HSLhsl(247, 70%, 37%)
HSVhsv(247, 83%, 63%)
CMYKcmyk(73.1%, 82.5%, 0%, 37.3%)
CIE-LABlab(23.28, 47.57, -67.42)
CIE-LCHlch(23.28, 82.52, 305.20°)
OKLaboklab(35.98% 0.018 -0.1949)
OKLCHoklch(35.98% 0.196 275.3)
XYZxyz(7.7546, 3.8814, 33.5914)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1CA0 #91A01C
analogous
#1C4FA0 #2B1CA0 #6D1CA0
triadic
#2B1CA0 #A02B1C #1CA02B
tetradic
#2B1CA0 #A01C4F #91A01C #1CA06D
square
#2B1CA0 #A01C4F #91A01C #1CA06D
split-complementary
#2B1CA0 #A06D1C #4FA01C
monochromatic
#0F0A38 #1D136C #2B1CA0 #3925D4 #6555E1

Accessibility & contrast

On white

11.82
#2B1CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2B1CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1CA0
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1CA0#FFFFFF#000000##FFFFFF
##2B1CA01.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA4
Deuteranopia (green-blind)
#00319E
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b1ca0;
/* rgb */ color: rgb(43, 28, 160);
/* oklch */ color: oklch(36.0% 0.196 275.3);
Tailwind
colors: {
  custom: {
    50: '#785dbd',
    500: '#2b1ca0',
    950: '#000000',
  },
}
SCSS
$custom: #2b1ca0;
$custom-light: #785dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1ca0",
  "rgb": {
    "r": 43,
    "g": 28,
    "b": 160
  },
  "hsl": {
    "h": 246.818,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.35975,
    "c": 0.19576,
    "h": 275.3
  },
  "luminance": 0.03882
}

Semantic roles & 50–950 ramp

primary
#2B1CA0
secondary
#B8C453
accent
#ED3BD9
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2B1CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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