#2B2576#2B2576

#2B2576 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.133 H 279.4°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#2B2576
RGBrgb(43, 37, 118)
HSLhsl(244, 52%, 30%)
HSVhsv(244, 69%, 46%)
CMYKcmyk(63.6%, 68.6%, 0%, 53.7%)
CIE-LABlab(20.61, 28.61, -45.58)
CIE-LCHlch(20.61, 53.82, 302.12°)
OKLaboklab(32.76% 0.0218 -0.1313)
OKLCHoklch(32.76% 0.133 279.4)
XYZxyz(4.9268, 3.1444, 17.4833)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2576 #707625
analogous
#254876 #2B2576 #532576
triadic
#2B2576 #762B25 #25762B
tetradic
#2B2576 #762548 #707625 #257653
square
#2B2576 #762548 #707625 #257653
split-complementary
#2B2576 #765325 #487625
monochromatic
#090819 #1A1647 #2B2576 #3C34A5 #574EC7

Accessibility & contrast

On white

12.89
#2B2576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2B2576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2576
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2576#FFFFFF#000000##FFFFFF
##2B25761.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003579
Deuteranopia (green-blind)
#002E74
Tritanopia (blue-blind)
#003A4A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2b2576;
/* rgb */ color: rgb(43, 37, 118);
/* oklch */ color: oklch(32.8% 0.133 279.4);
Tailwind
colors: {
  custom: {
    50: '#6e609e',
    500: '#2b2576',
    950: '#000000',
  },
}
SCSS
$custom: #2b2576;
$custom-light: #6e609e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2576",
  "rgb": {
    "r": 43,
    "g": 37,
    "b": 118
  },
  "hsl": {
    "h": 244.444,
    "s": 52.258,
    "l": 30.392
  },
  "oklch": {
    "l": 0.32764,
    "c": 0.13308,
    "h": 279.4
  },
  "luminance": 0.03145
}

Semantic roles & 50–950 ramp

primary
#2B2576
secondary
#A2A94E
accent
#DC4CD1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #2B2576

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

Preview Lab → · Contrast checker → · Palette generator →

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