#2B2684#2B2684

#2B2684 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.3% C 0.151 H 277.2°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#2B2684
RGBrgb(43, 38, 132)
HSLhsl(243, 55%, 33%)
HSVhsv(243, 71%, 52%)
CMYKcmyk(67.4%, 71.2%, 0%, 48.2%)
CIE-LABlab(22.18, 32.88, -51.90)
CIE-LCHlch(22.18, 61.44, 302.36°)
OKLaboklab(34.3% 0.019 -0.1498)
OKLCHoklch(34.3% 0.151 277.2)
XYZxyz(5.8529, 3.5653, 22.2050)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2684 #7F8426
analogous
#265084 #2B2684 #5A2684
triadic
#2B2684 #842B26 #26842B
tetradic
#2B2684 #842650 #7F8426 #26845A
square
#2B2684 #842650 #7F8426 #26845A
split-complementary
#2B2684 #845A26 #508426
monochromatic
#0C0B25 #1C1854 #2B2684 #3A34B4 #5C56CE

Accessibility & contrast

On white

12.26
#2B2684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2B2684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2684
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2684#FFFFFF#000000##FFFFFF
##2B26841.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b2684;
/* rgb */ color: rgb(43, 38, 132);
/* oklch */ color: oklch(34.3% 0.151 277.2);
Tailwind
colors: {
  custom: {
    50: '#7161a9',
    500: '#2b2684',
    950: '#000000',
  },
}
SCSS
$custom: #2b2684;
$custom-light: #7161a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2684",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 132
  },
  "hsl": {
    "h": 243.191,
    "s": 55.294,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34303,
    "c": 0.151,
    "h": 277.2
  },
  "luminance": 0.03566
}

Semantic roles & 50–950 ramp

primary
#2B2684
secondary
#AEB353
accent
#DF49D7
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2B2684

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

Preview Lab → · Contrast checker → · Palette generator →

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