#2B1E73#2B1E73

#2B1E73 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.3% C 0.138 H 281.9°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#2B1E73
RGBrgb(43, 30, 115)
HSLhsl(249, 59%, 28%)
HSVhsv(249, 74%, 45%)
CMYKcmyk(62.6%, 73.9%, 0%, 54.9%)
CIE-LABlab(18.71, 31.98, -46.77)
CIE-LCHlch(18.71, 56.66, 304.37°)
OKLaboklab(31.31% 0.0284 -0.1348)
OKLCHoklch(31.31% 0.138 281.9)
XYZxyz(4.5541, 2.6796, 16.4936)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1E73 #66731E
analogous
#1E3B73 #2B1E73 #551E73
triadic
#2B1E73 #732B1E #1E732B
tetradic
#2B1E73 #731E3B #66731E #1E7355
square
#2B1E73 #731E3B #66731E #1E7355
split-complementary
#2B1E73 #73551E #3B731E
monochromatic
#090618 #191142 #2B1E73 #3D2BA4 #543FCD

Accessibility & contrast

On white

13.67
#2B1E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#2B1E73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1E73
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1E73#FFFFFF#000000##FFFFFF
##2B1E731.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003076
Deuteranopia (green-blind)
#002A71
Tritanopia (blue-blind)
#003546
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2b1e73;
/* rgb */ color: rgb(43, 30, 115);
/* oklch */ color: oklch(31.3% 0.138 281.9);
Tailwind
colors: {
  custom: {
    50: '#6e5b9c',
    500: '#2b1e73',
    950: '#000000',
  },
}
SCSS
$custom: #2b1e73;
$custom-light: #6e5b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1e73",
  "rgb": {
    "r": 43,
    "g": 30,
    "b": 115
  },
  "hsl": {
    "h": 249.176,
    "s": 58.621,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31309,
    "c": 0.13772,
    "h": 281.9
  },
  "luminance": 0.0268
}

Semantic roles & 50–950 ramp

primary
#2B1E73
secondary
#98A746
accent
#E246CA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #2B1E73

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

Preview Lab → · Contrast checker → · Palette generator →

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