#2B2984#2B2984

#2B2984 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.147 H 276.5°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#2B2984
RGBrgb(43, 41, 132)
HSLhsl(241, 53%, 34%)
HSVhsv(241, 69%, 52%)
CMYKcmyk(67.4%, 68.9%, 0%, 48.2%)
CIE-LABlab(22.88, 30.98, -50.75)
CIE-LCHlch(22.88, 59.46, 301.40°)
OKLaboklab(34.81% 0.0166 -0.1464)
OKLCHoklch(34.81% 0.147 276.5)
XYZxyz(5.9527, 3.7649, 22.2383)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2984 #828429
analogous
#295584 #2B2984 #592984
triadic
#2B2984 #842B29 #29842B
tetradic
#2B2984 #842955 #828429 #298459
square
#2B2984 #842955 #828429 #298459
split-complementary
#2B2984 #845929 #558429
monochromatic
#0D0C27 #1C1A55 #2B2984 #3A38B3 #5E5BCC

Accessibility & contrast

On white

11.98
#2B2984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2B2984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2984
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2984#FFFFFF#000000##FFFFFF
##2B29841.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B87
Deuteranopia (green-blind)
#003382
Tritanopia (blue-blind)
#004153
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b2984;
/* rgb */ color: rgb(43, 41, 132);
/* oklch */ color: oklch(34.8% 0.147 276.5);
Tailwind
colors: {
  custom: {
    50: '#7163a9',
    500: '#2b2984',
    950: '#000000',
  },
}
SCSS
$custom: #2b2984;
$custom-light: #7163a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2984",
  "rgb": {
    "r": 43,
    "g": 41,
    "b": 132
  },
  "hsl": {
    "h": 241.319,
    "s": 52.601,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34808,
    "c": 0.14738,
    "h": 276.5
  },
  "luminance": 0.03765
}

Semantic roles & 50–950 ramp

primary
#2B2984
secondary
#B0B257
accent
#DC4CD9
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #2B2984

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

Preview Lab → · Contrast checker → · Palette generator →

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