#2B2980#2B2980

#2B2980 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.142 H 276.9°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#2B2980
RGBrgb(43, 41, 128)
HSLhsl(241, 51%, 33%)
HSVhsv(241, 68%, 50%)
CMYKcmyk(66.4%, 68%, 0%, 49.8%)
CIE-LABlab(22.51, 29.56, -48.84)
CIE-LCHlch(22.51, 57.09, 301.18°)
OKLaboklab(34.42% 0.0171 -0.1408)
OKLCHoklch(34.42% 0.142 276.9)
XYZxyz(5.6842, 3.6575, 20.8243)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2980 #7E8029
analogous
#295280 #2B2980 #562980
triadic
#2B2980 #802B29 #29802B
tetradic
#2B2980 #802952 #7E8029 #298056
square
#2B2980 #802952 #7E8029 #298056
split-complementary
#2B2980 #805629 #528029
monochromatic
#0C0B23 #1B1A52 #2B2980 #3B38AE #5C59CA

Accessibility & contrast

On white

12.13
#2B2980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2B2980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2980
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2980#FFFFFF#000000##FFFFFF
##2B29801.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A83
Deuteranopia (green-blind)
#00327E
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2b2980;
/* rgb */ color: rgb(43, 41, 128);
/* oklch */ color: oklch(34.4% 0.142 276.9);
Tailwind
colors: {
  custom: {
    50: '#7063a6',
    500: '#2b2980',
    950: '#000000',
  },
}
SCSS
$custom: #2b2980;
$custom-light: #7063a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2980",
  "rgb": {
    "r": 43,
    "g": 41,
    "b": 128
  },
  "hsl": {
    "h": 241.379,
    "s": 51.479,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34422,
    "c": 0.14189,
    "h": 276.9
  },
  "luminance": 0.03658
}

Semantic roles & 50–950 ramp

primary
#2B2980
secondary
#ADAF55
accent
#DB4DD8
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #2B2980

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

Preview Lab → · Contrast checker → · Palette generator →

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