#2B1E80#2B1E80

#2B1E80 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.155 H 279.5°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#2B1E80
RGBrgb(43, 30, 128)
HSLhsl(248, 62%, 31%)
HSVhsv(248, 77%, 50%)
CMYKcmyk(66.4%, 76.6%, 0%, 49.8%)
CIE-LABlab(20.04, 36.32, -52.88)
CIE-LCHlch(20.04, 64.15, 304.48°)
OKLaboklab(32.66% 0.0255 -0.1526)
OKLCHoklch(32.66% 0.155 279.5)
XYZxyz(5.3556, 3.0002, 20.7148)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1E80 #73801E
analogous
#1E4280 #2B1E80 #5C1E80
triadic
#2B1E80 #802B1E #1E802B
tetradic
#2B1E80 #801E42 #73801E #1E805C
square
#2B1E80 #801E42 #73801E #1E805C
split-complementary
#2B1E80 #805C1E #42801E
monochromatic
#0A071D #1A124E #2B1E80 #3C2AB2 #5845D3

Accessibility & contrast

On white

13.12
#2B1E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2B1E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1E80
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1E80#FFFFFF#000000##FFFFFF
##2B1E801.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#002D7E
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2b1e80;
/* rgb */ color: rgb(43, 30, 128);
/* oklch */ color: oklch(32.7% 0.155 279.5);
Tailwind
colors: {
  custom: {
    50: '#715ca6',
    500: '#2b1e80',
    950: '#000000',
  },
}
SCSS
$custom: #2b1e80;
$custom-light: #715ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1e80",
  "rgb": {
    "r": 43,
    "g": 30,
    "b": 128
  },
  "hsl": {
    "h": 247.959,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32659,
    "c": 0.15476,
    "h": 279.5
  },
  "luminance": 0.03001
}

Semantic roles & 50–950 ramp

primary
#2B1E80
secondary
#A5B347
accent
#E543D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #2B1E80

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

Preview Lab → · Contrast checker → · Palette generator →

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