#2B1E85#2B1E85

#2B1E85 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.2% C 0.161 H 278.7°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#2B1E85
RGBrgb(43, 30, 133)
HSLhsl(248, 63%, 32%)
HSVhsv(248, 77%, 52%)
CMYKcmyk(67.7%, 77.4%, 0%, 47.8%)
CIE-LABlab(20.58, 37.97, -55.16)
CIE-LCHlch(20.58, 66.97, 304.54°)
OKLaboklab(33.19% 0.0243 -0.1593)
OKLCHoklch(33.19% 0.161 278.7)
XYZxyz(5.6928, 3.1351, 22.4909)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1E85 #78851E
analogous
#1E4585 #2B1E85 #5F1E85
triadic
#2B1E85 #852B1E #1E852B
tetradic
#2B1E85 #851E45 #78851E #1E855F
square
#2B1E85 #851E45 #78851E #1E855F
split-complementary
#2B1E85 #855F1E #45851E
monochromatic
#0B0721 #1B1353 #2B1E85 #3B29B7 #5A48D6

Accessibility & contrast

On white

12.91
#2B1E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2B1E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1E85
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1E85#FFFFFF#000000##FFFFFF
##2B1E851.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#002D83
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2b1e85;
/* rgb */ color: rgb(43, 30, 133);
/* oklch */ color: oklch(33.2% 0.161 278.7);
Tailwind
colors: {
  custom: {
    50: '#725caa',
    500: '#2b1e85',
    950: '#000000',
  },
}
SCSS
$custom: #2b1e85;
$custom-light: #725caa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1e85",
  "rgb": {
    "r": 43,
    "g": 30,
    "b": 133
  },
  "hsl": {
    "h": 247.573,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33194,
    "c": 0.16113,
    "h": 278.7
  },
  "luminance": 0.03136
}

Semantic roles & 50–950 ramp

primary
#2B1E85
secondary
#AAB847
accent
#E642D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2B1E85

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

Preview Lab → · Contrast checker → · Palette generator →

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