#2B2184#2B2184

#2B2184 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.5% C 0.157 H 278.3°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#2B2184
RGBrgb(43, 33, 132)
HSLhsl(246, 60%, 32%)
HSVhsv(246, 75%, 52%)
CMYKcmyk(67.4%, 75%, 0%, 48.2%)
CIE-LABlab(21.08, 35.92, -53.70)
CIE-LCHlch(21.08, 64.60, 303.78°)
OKLaboklab(33.52% 0.0226 -0.155)
OKLCHoklch(33.52% 0.157 278.3)
XYZxyz(5.7036, 3.2668, 22.1553)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2184 #7A8421
analogous
#214884 #2B2184 #5D2184
triadic
#2B2184 #842B21 #21842B
tetradic
#2B2184 #842148 #7A8421 #21845D
square
#2B2184 #842148 #7A8421 #21845D
split-complementary
#2B2184 #845D21 #488421
monochromatic
#0B0922 #1B1553 #2B2184 #3B2DB5 #5A4DD2

Accessibility & contrast

On white

12.70
#2B2184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2B2184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2184
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2184#FFFFFF#000000##FFFFFF
##2B21841.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003787
Deuteranopia (green-blind)
#002F82
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2b2184;
/* rgb */ color: rgb(43, 33, 132);
/* oklch */ color: oklch(33.5% 0.157 278.3);
Tailwind
colors: {
  custom: {
    50: '#715ea9',
    500: '#2b2184',
    950: '#000000',
  },
}
SCSS
$custom: #2b2184;
$custom-light: #715ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2184",
  "rgb": {
    "r": 43,
    "g": 33,
    "b": 132
  },
  "hsl": {
    "h": 246.061,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33519,
    "c": 0.15668,
    "h": 278.3
  },
  "luminance": 0.03267
}

Semantic roles & 50–950 ramp

primary
#2B2184
secondary
#ABB64B
accent
#E345D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2B2184

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

Preview Lab → · Contrast checker → · Palette generator →

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