#2B2A84#2B2A84

#2B2A84 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.0% C 0.146 H 276.2°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#2B2A84
RGBrgb(43, 42, 132)
HSLhsl(241, 52%, 34%)
HSVhsv(241, 68%, 52%)
CMYKcmyk(67.4%, 68.2%, 0%, 48.2%)
CIE-LABlab(23.12, 30.34, -50.36)
CIE-LCHlch(23.12, 58.79, 301.07°)
OKLaboklab(34.98% 0.0158 -0.1453)
OKLCHoklch(34.98% 0.146 276.2)
XYZxyz(5.9877, 3.8350, 22.2500)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2A84 #83842A
analogous
#2A5684 #2B2A84 #582A84
triadic
#2B2A84 #842B2A #2A842B
tetradic
#2B2A84 #842A56 #83842A #2A8458
square
#2B2A84 #842A56 #83842A #2A8458
split-complementary
#2B2A84 #84582A #56842A
monochromatic
#0D0C27 #1C1B56 #2B2A84 #3A39B2 #5E5DCB

Accessibility & contrast

On white

11.88
#2B2A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2B2A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2A84
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2A84#FFFFFF#000000##FFFFFF
##2B2A841.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b2a84;
/* rgb */ color: rgb(43, 42, 132);
/* oklch */ color: oklch(35.0% 0.146 276.2);
Tailwind
colors: {
  custom: {
    50: '#7064a9',
    500: '#2b2a84',
    950: '#000000',
  },
}
SCSS
$custom: #2b2a84;
$custom-light: #7064a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2a84",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 132
  },
  "hsl": {
    "h": 240.667,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34982,
    "c": 0.14614,
    "h": 276.2
  },
  "luminance": 0.03835
}

Semantic roles & 50–950 ramp

primary
#2B2A84
secondary
#B0B159
accent
#DB4DDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #2B2A84

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

Preview Lab → · Contrast checker → · Palette generator →

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