#2B1E72#2B1E72

#2B1E72 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.2% C 0.136 H 282.1°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#2B1E72
RGBrgb(43, 30, 114)
HSLhsl(249, 58%, 28%)
HSVhsv(249, 74%, 45%)
CMYKcmyk(62.3%, 73.7%, 0%, 55.3%)
CIE-LABlab(18.61, 31.65, -46.28)
CIE-LCHlch(18.61, 56.07, 304.36°)
OKLaboklab(31.21% 0.0286 -0.1333)
OKLCHoklch(31.21% 0.136 282.1)
XYZxyz(4.4969, 2.6567, 16.1922)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1E72 #65721E
analogous
#1E3B72 #2B1E72 #551E72
triadic
#2B1E72 #722B1E #1E722B
tetradic
#2B1E72 #721E3B #65721E #1E7255
square
#2B1E72 #721E3B #65721E #1E7255
split-complementary
#2B1E72 #72551E #3B721E
monochromatic
#090618 #191142 #2B1E72 #3D2BA2 #543ECC

Accessibility & contrast

On white

13.71
#2B1E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#2B1E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1E72
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1E72#FFFFFF#000000##FFFFFF
##2B1E721.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003075
Deuteranopia (green-blind)
#002A70
Tritanopia (blue-blind)
#003545
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2b1e72;
/* rgb */ color: rgb(43, 30, 114);
/* oklch */ color: oklch(31.2% 0.136 282.1);
Tailwind
colors: {
  custom: {
    50: '#6e5b9b',
    500: '#2b1e72',
    950: '#000000',
  },
}
SCSS
$custom: #2b1e72;
$custom-light: #6e5b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1e72",
  "rgb": {
    "r": 43,
    "g": 30,
    "b": 114
  },
  "hsl": {
    "h": 249.286,
    "s": 58.333,
    "l": 28.235
  },
  "oklch": {
    "l": 0.31208,
    "c": 0.13638,
    "h": 282.1
  },
  "luminance": 0.02657
}

Semantic roles & 50–950 ramp

primary
#2B1E72
secondary
#97A646
accent
#E246CA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #2B1E72

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

Preview Lab → · Contrast checker → · Palette generator →

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