#2B2486#2B2486

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

Color values

HEX#2B2486
RGBrgb(43, 36, 134)
HSLhsl(244, 58%, 33%)
HSVhsv(244, 73%, 53%)
CMYKcmyk(67.9%, 73.1%, 0%, 47.5%)
CIE-LABlab(21.93, 34.80, -53.56)
CIE-LCHlch(21.93, 63.88, 303.01°)
OKLaboklab(34.19% 0.0201 -0.1547)
OKLCHoklch(34.19% 0.156 277.4)
XYZxyz(5.9288, 3.4961, 22.9120)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2486 #7F8624
analogous
#244E86 #2B2486 #5C2486
triadic
#2B2486 #862B24 #24862B
tetradic
#2B2486 #86244E #7F8624 #24865C
square
#2B2486 #86244E #7F8624 #24865C
split-complementary
#2B2486 #865C24 #4E8624
monochromatic
#0C0A26 #1C1756 #2B2486 #3A31B6 #5C53D1

Accessibility & contrast

On white

12.36
#2B2486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2486
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2486#FFFFFF#000000##FFFFFF
##2B24861.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003989
Deuteranopia (green-blind)
#003084
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2b2486;
/* rgb */ color: rgb(43, 36, 134);
/* oklch */ color: oklch(34.2% 0.156 277.4);
Tailwind
colors: {
  custom: {
    50: '#7160aa',
    500: '#2b2486',
    950: '#000000',
  },
}
SCSS
$custom: #2b2486;
$custom-light: #7160aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2486",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 134
  },
  "hsl": {
    "h": 244.286,
    "s": 57.647,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34185,
    "c": 0.15596,
    "h": 277.4
  },
  "luminance": 0.03497
}

Semantic roles & 50–950 ramp

primary
#2B2486
secondary
#AEB551
accent
#E147D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2B2486

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

Preview Lab → · Contrast checker → · Palette generator →

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