#2B2ABB#2B2ABB

#2B2ABB is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.7% C 0.216 H 271.7°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#2B2ABB
RGBrgb(43, 42, 187)
HSLhsl(240, 63%, 45%)
HSVhsv(240, 78%, 73%)
CMYKcmyk(77%, 77.5%, 0%, 26.7%)
CIE-LABlab(28.79, 49.05, -74.51)
CIE-LCHlch(28.79, 89.21, 303.36°)
OKLaboklab(40.72% 0.0066 -0.2157)
OKLCHoklch(40.72% 0.216 271.7)
XYZxyz(10.7908, 5.7562, 47.5464)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2ABB #BABB2A
analogous
#2A71BB #2B2ABB #742ABB
triadic
#2B2ABB #BB2B2A #2ABB2B
tetradic
#2B2ABB #BB2A71 #BABB2A #2ABB74
square
#2B2ABB #BB2A71 #BABB2A #2ABB74
split-complementary
#2B2ABB #BB742A #71BB2A
monochromatic
#141457 #201F89 #2B2ABB #4C4CD7 #7E7DE2

Accessibility & contrast

On white

9.76
#2B2ABB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2B2ABB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2ABB
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2ABB#FFFFFF#000000##FFFFFF
##2B2ABB1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b2abb;
/* rgb */ color: rgb(43, 42, 187);
/* oklch */ color: oklch(40.7% 0.216 271.7);
Tailwind
colors: {
  custom: {
    50: '#7d66d1',
    500: '#2b2abb',
    950: '#000000',
  },
}
SCSS
$custom: #2b2abb;
$custom-light: #7d66d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2abb",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 187
  },
  "hsl": {
    "h": 240.414,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.40722,
    "c": 0.2158,
    "h": 271.7
  },
  "luminance": 0.05757
}

Semantic roles & 50–950 ramp

primary
#2B2ABB
secondary
#CACA76
accent
#E641E5
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2B2ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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