#2B2376#2B2376

#2B2376 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.4% C 0.136 H 280.0°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#2B2376
RGBrgb(43, 35, 118)
HSLhsl(246, 54%, 30%)
HSVhsv(246, 70%, 46%)
CMYKcmyk(63.6%, 70.3%, 0%, 53.7%)
CIE-LABlab(20.14, 29.90, -46.36)
CIE-LCHlch(20.14, 55.16, 302.82°)
OKLaboklab(32.42% 0.0236 -0.1336)
OKLCHoklch(32.42% 0.136 280)
XYZxyz(4.8663, 3.0233, 17.4631)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2376 #6E7623
analogous
#234576 #2B2376 #542376
triadic
#2B2376 #762B23 #23762B
tetradic
#2B2376 #762345 #6E7623 #237654
square
#2B2376 #762345 #6E7623 #237654
split-complementary
#2B2376 #765423 #457623
monochromatic
#090718 #1A1547 #2B2376 #3C31A5 #564AC9

Accessibility & contrast

On white

13.09
#2B2376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2376
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2376#FFFFFF#000000##FFFFFF
##2B23761.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003479
Deuteranopia (green-blind)
#002D74
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2b2376;
/* rgb */ color: rgb(43, 35, 118);
/* oklch */ color: oklch(32.4% 0.136 280.0);
Tailwind
colors: {
  custom: {
    50: '#6e5f9e',
    500: '#2b2376',
    950: '#000000',
  },
}
SCSS
$custom: #2b2376;
$custom-light: #6e5f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2376",
  "rgb": {
    "r": 43,
    "g": 35,
    "b": 118
  },
  "hsl": {
    "h": 245.783,
    "s": 54.248,
    "l": 30
  },
  "oklch": {
    "l": 0.3242,
    "c": 0.13564,
    "h": 280
  },
  "luminance": 0.03024
}

Semantic roles & 50–950 ramp

primary
#2B2376
secondary
#A0A94C
accent
#DE4ACF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #2B2376

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

Preview Lab → · Contrast checker → · Palette generator →

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