#2B2AB4#2B2AB4

#2B2AB4 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.0% C 0.207 H 272.2°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#2B2AB4
RGBrgb(43, 42, 180)
HSLhsl(240, 62%, 44%)
HSVhsv(240, 77%, 71%)
CMYKcmyk(76.1%, 76.7%, 0%, 29.4%)
CIE-LABlab(28.02, 46.78, -71.63)
CIE-LCHlch(28.02, 85.55, 303.15°)
OKLaboklab(39.95% 0.008 -0.2073)
OKLCHoklch(39.95% 0.207 272.2)
XYZxyz(10.0597, 5.4637, 43.6956)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2AB4 #B3B42A
analogous
#2A6EB4 #2B2AB4 #702AB4
triadic
#2B2AB4 #B42B2A #2AB42B
tetradic
#2B2AB4 #B42A6E #B3B42A #2AB470
square
#2B2AB4 #B42A6E #B3B42A #2AB470
split-complementary
#2B2AB4 #B4702A #6EB42A
monochromatic
#131351 #1F1E82 #2B2AB4 #4847D4 #7979E0

Accessibility & contrast

On white

10.03
#2B2AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2B2AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2AB4
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2AB4#FFFFFF#000000##FFFFFF
##2B2AB41.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B8
Deuteranopia (green-blind)
#003BB2
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b2ab4;
/* rgb */ color: rgb(43, 42, 180);
/* oklch */ color: oklch(40.0% 0.207 272.2);
Tailwind
colors: {
  custom: {
    50: '#7c66cc',
    500: '#2b2ab4',
    950: '#000000',
  },
}
SCSS
$custom: #2b2ab4;
$custom-light: #7c66cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2ab4",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 180
  },
  "hsl": {
    "h": 240.435,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.39953,
    "c": 0.20748,
    "h": 272.2
  },
  "luminance": 0.05465
}

Semantic roles & 50–950 ramp

primary
#2B2AB4
secondary
#C7C872
accent
#E543E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2B2AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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