#2B1E89#2B1E89

#2B1E89 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.6% C 0.166 H 278.1°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#2B1E89
RGBrgb(43, 30, 137)
HSLhsl(247, 64%, 33%)
HSVhsv(247, 78%, 54%)
CMYKcmyk(68.6%, 78.1%, 0%, 46.3%)
CIE-LABlab(21.01, 39.28, -56.96)
CIE-LCHlch(21.01, 69.19, 304.59°)
OKLaboklab(33.63% 0.0233 -0.1645)
OKLCHoklch(33.63% 0.166 278.1)
XYZxyz(5.9744, 3.2478, 23.9741)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1E89 #7C891E
analogous
#1E4689 #2B1E89 #611E89
triadic
#2B1E89 #892B1E #1E892B
tetradic
#2B1E89 #891E46 #7C891E #1E8961
square
#2B1E89 #891E46 #7C891E #1E8961
split-complementary
#2B1E89 #89611E #46891E
monochromatic
#0B0825 #1B1357 #2B1E89 #3B29BB #5B4AD7

Accessibility & contrast

On white

12.73
#2B1E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2B1E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1E89
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1E89#FFFFFF#000000##FFFFFF
##2B1E891.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378C
Deuteranopia (green-blind)
#002E87
Tritanopia (blue-blind)
#003D52
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2b1e89;
/* rgb */ color: rgb(43, 30, 137);
/* oklch */ color: oklch(33.6% 0.166 278.1);
Tailwind
colors: {
  custom: {
    50: '#735cad',
    500: '#2b1e89',
    950: '#000000',
  },
}
SCSS
$custom: #2b1e89;
$custom-light: #735cad;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1e89",
  "rgb": {
    "r": 43,
    "g": 30,
    "b": 137
  },
  "hsl": {
    "h": 247.29,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33628,
    "c": 0.16617,
    "h": 278.1
  },
  "luminance": 0.03248
}

Semantic roles & 50–950 ramp

primary
#2B1E89
secondary
#ACBA49
accent
#E741D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2B1E89

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

Preview Lab → · Contrast checker → · Palette generator →

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