#2A2B84#2A2B84

#2A2B84 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.1% C 0.145 H 275.4°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#2A2B84
RGBrgb(42, 43, 132)
HSLhsl(239, 52%, 34%)
HSVhsv(239, 68%, 52%)
CMYKcmyk(68.2%, 67.4%, 0%, 48.2%)
CIE-LABlab(23.29, 29.54, -50.08)
CIE-LCHlch(23.29, 58.14, 300.53°)
OKLaboklab(35.09% 0.0138 -0.1445)
OKLCHoklch(35.09% 0.145 275.4)
XYZxyz(5.9822, 3.8854, 22.2600)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2B84 #84832A
analogous
#2A5884 #2A2B84 #562A84
triadic
#2A2B84 #842A2B #2B842A
tetradic
#2A2B84 #842A58 #84832A #2A8456
square
#2A2B84 #842A58 #84832A #2A8456
split-complementary
#2A2B84 #84562A #58842A
monochromatic
#0C0D27 #1B1C56 #2A2B84 #393AB2 #5D5ECB

Accessibility & contrast

On white

11.82
#2A2B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2A2B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2B84
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2B84#FFFFFF#000000##FFFFFF
##2A2B841.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a2b84;
/* rgb */ color: rgb(42, 43, 132);
/* oklch */ color: oklch(35.1% 0.145 275.4);
Tailwind
colors: {
  custom: {
    50: '#7064a9',
    500: '#2a2b84',
    950: '#000000',
  },
}
SCSS
$custom: #2a2b84;
$custom-light: #7064a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2b84",
  "rgb": {
    "r": 42,
    "g": 43,
    "b": 132
  },
  "hsl": {
    "h": 239.333,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35087,
    "c": 0.14515,
    "h": 275.4
  },
  "luminance": 0.03886
}

Semantic roles & 50–950 ramp

primary
#2A2B84
secondary
#B1B059
accent
#DA4DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #2A2B84

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

Preview Lab → · Contrast checker → · Palette generator →

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