#2B2AB6#2B2AB6

#2B2AB6 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.2% C 0.210 H 272.1°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#2B2AB6
RGBrgb(43, 42, 182)
HSLhsl(240, 63%, 44%)
HSVhsv(240, 77%, 71%)
CMYKcmyk(76.4%, 76.9%, 0%, 28.6%)
CIE-LABlab(28.24, 47.43, -72.46)
CIE-LCHlch(28.24, 86.60, 303.21°)
OKLaboklab(40.17% 0.0076 -0.2097)
OKLCHoklch(40.17% 0.21 272.1)
XYZxyz(10.2649, 5.5458, 44.7764)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2AB6 #B5B62A
analogous
#2A6FB6 #2B2AB6 #712AB6
triadic
#2B2AB6 #B62B2A #2AB62B
tetradic
#2B2AB6 #B62A6F #B5B62A #2AB671
square
#2B2AB6 #B62A6F #B5B62A #2AB671
split-complementary
#2B2AB6 #B6712A #6FB62A
monochromatic
#141353 #1F1F84 #2B2AB6 #4948D5 #7B7AE0

Accessibility & contrast

On white

9.96
#2B2AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2B2AB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2AB6
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2AB6#FFFFFF#000000##FFFFFF
##2B2AB61.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049BA
Deuteranopia (green-blind)
#003CB4
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b2ab6;
/* rgb */ color: rgb(43, 42, 182);
/* oklch */ color: oklch(40.2% 0.210 272.1);
Tailwind
colors: {
  custom: {
    50: '#7c66cd',
    500: '#2b2ab6',
    950: '#000000',
  },
}
SCSS
$custom: #2b2ab6;
$custom-light: #7c66cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2ab6",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 182
  },
  "hsl": {
    "h": 240.429,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40172,
    "c": 0.20988,
    "h": 272.1
  },
  "luminance": 0.05547
}

Semantic roles & 50–950 ramp

primary
#2B2AB6
secondary
#C8C873
accent
#E642E4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2B2AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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