#2B2ABA#2B2ABA

#2B2ABA is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.6% C 0.215 H 271.8°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#2B2ABA
RGBrgb(43, 42, 186)
HSLhsl(240, 63%, 45%)
HSVhsv(240, 77%, 73%)
CMYKcmyk(76.9%, 77.4%, 0%, 27.1%)
CIE-LABlab(28.68, 48.73, -74.10)
CIE-LCHlch(28.68, 88.69, 303.33°)
OKLaboklab(40.61% 0.0068 -0.2145)
OKLCHoklch(40.61% 0.215 271.8)
XYZxyz(10.6842, 5.7135, 46.9846)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2ABA #B9BA2A
analogous
#2A71BA #2B2ABA #732ABA
triadic
#2B2ABA #BA2B2A #2ABA2B
tetradic
#2B2ABA #BA2A71 #B9BA2A #2ABA73
square
#2B2ABA #BA2A71 #B9BA2A #2ABA73
split-complementary
#2B2ABA #BA732A #71BA2A
monochromatic
#141356 #1F1F88 #2B2ABA #4C4BD6 #7E7DE2

Accessibility & contrast

On white

9.80
#2B2ABA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2B2ABA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2ABA
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2ABA#FFFFFF#000000##FFFFFF
##2B2ABA1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBE
Deuteranopia (green-blind)
#003CB8
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b2aba;
/* rgb */ color: rgb(43, 42, 186);
/* oklch */ color: oklch(40.6% 0.215 271.8);
Tailwind
colors: {
  custom: {
    50: '#7d66d0',
    500: '#2b2aba',
    950: '#000000',
  },
}
SCSS
$custom: #2b2aba;
$custom-light: #7d66d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2aba",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 186
  },
  "hsl": {
    "h": 240.417,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.40612,
    "c": 0.21462,
    "h": 271.8
  },
  "luminance": 0.05715
}

Semantic roles & 50–950 ramp

primary
#2B2ABA
secondary
#C9CA76
accent
#E642E5
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2B2ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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