#2B2584#2B2584

#2B2584 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.1% C 0.152 H 277.4°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#2B2584
RGBrgb(43, 37, 132)
HSLhsl(244, 56%, 33%)
HSVhsv(244, 72%, 52%)
CMYKcmyk(67.4%, 72%, 0%, 48.2%)
CIE-LABlab(21.95, 33.50, -52.27)
CIE-LCHlch(21.95, 62.08, 302.66°)
OKLaboklab(34.14% 0.0197 -0.1509)
OKLCHoklch(34.14% 0.152 277.4)
XYZxyz(5.8213, 3.5022, 22.1945)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2584 #7E8425
analogous
#254F84 #2B2584 #5A2584
triadic
#2B2584 #842B25 #25842B
tetradic
#2B2584 #84254F #7E8425 #25845A
square
#2B2584 #84254F #7E8425 #25845A
split-complementary
#2B2584 #845A25 #4F8425
monochromatic
#0C0A24 #1B1854 #2B2584 #3B32B4 #5C54CF

Accessibility & contrast

On white

12.35
#2B2584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2B2584 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2584
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2584#FFFFFF#000000##FFFFFF
##2B25841.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003887
Deuteranopia (green-blind)
#003182
Tritanopia (blue-blind)
#003F51
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2b2584;
/* rgb */ color: rgb(43, 37, 132);
/* oklch */ color: oklch(34.1% 0.152 277.4);
Tailwind
colors: {
  custom: {
    50: '#7160a9',
    500: '#2b2584',
    950: '#000000',
  },
}
SCSS
$custom: #2b2584;
$custom-light: #7160a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2584",
  "rgb": {
    "r": 43,
    "g": 37,
    "b": 132
  },
  "hsl": {
    "h": 243.789,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.3414,
    "c": 0.15217,
    "h": 277.4
  },
  "luminance": 0.03503
}

Semantic roles & 50–950 ramp

primary
#2B2584
secondary
#ADB351
accent
#E048D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2B2584

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

Preview Lab → · Contrast checker → · Palette generator →

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