#2B2076#2B2076

#2B2076 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.9% C 0.139 H 280.8°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#2B2076
RGBrgb(43, 32, 118)
HSLhsl(248, 57%, 29%)
HSVhsv(248, 73%, 46%)
CMYKcmyk(63.6%, 72.9%, 0%, 53.7%)
CIE-LABlab(19.45, 31.78, -47.48)
CIE-LCHlch(19.45, 57.14, 303.79°)
OKLaboklab(31.93% 0.0261 -0.1369)
OKLCHoklch(31.93% 0.139 280.8)
XYZxyz(4.7818, 2.8543, 17.4350)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2076 #6B7620
analogous
#204076 #2B2076 #562076
triadic
#2B2076 #762B20 #20762B
tetradic
#2B2076 #762040 #6B7620 #207656
square
#2B2076 #762040 #6B7620 #207656
split-complementary
#2B2076 #765620 #407620
monochromatic
#090718 #191346 #2B2076 #3D2DA6 #5644CC

Accessibility & contrast

On white

13.37
#2B2076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#2B2076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2076
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2076#FFFFFF#000000##FFFFFF
##2B20761.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#002C74
Tritanopia (blue-blind)
#003748
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2b2076;
/* rgb */ color: rgb(43, 32, 118);
/* oklch */ color: oklch(31.9% 0.139 280.8);
Tailwind
colors: {
  custom: {
    50: '#6e5d9e',
    500: '#2b2076',
    950: '#000000',
  },
}
SCSS
$custom: #2b2076;
$custom-light: #6e5d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2076",
  "rgb": {
    "r": 43,
    "g": 32,
    "b": 118
  },
  "hsl": {
    "h": 247.674,
    "s": 57.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31927,
    "c": 0.13934,
    "h": 280.8
  },
  "luminance": 0.02855
}

Semantic roles & 50–950 ramp

primary
#2B2076
secondary
#9DA948
accent
#E147CD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #2B2076

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

Preview Lab → · Contrast checker → · Palette generator →

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