#2B2AB2#2B2AB2

#2B2AB2 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.7% C 0.205 H 272.3°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#2B2AB2
RGBrgb(43, 42, 178)
HSLhsl(240, 62%, 43%)
HSVhsv(240, 76%, 70%)
CMYKcmyk(75.8%, 76.4%, 0%, 30.2%)
CIE-LABlab(27.80, 46.13, -70.80)
CIE-LCHlch(27.80, 84.50, 303.09°)
OKLaboklab(39.73% 0.0083 -0.2049)
OKLCHoklch(39.73% 0.205 272.3)
XYZxyz(9.8574, 5.3828, 42.6303)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2AB2 #B1B22A
analogous
#2A6DB2 #2B2AB2 #6F2AB2
triadic
#2B2AB2 #B22B2A #2AB22B
tetradic
#2B2AB2 #B22A6D #B1B22A #2AB26F
square
#2B2AB2 #B22A6D #B1B22A #2AB26F
split-complementary
#2B2AB2 #B26F2A #6DB22A
monochromatic
#13134F #1F1E80 #2B2AB2 #4746D3 #7877DF

Accessibility & contrast

On white

10.11
#2B2AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2B2AB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2AB2
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2AB2#FFFFFF#000000##FFFFFF
##2B2AB21.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B6
Deuteranopia (green-blind)
#003BB0
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b2ab2;
/* rgb */ color: rgb(43, 42, 178);
/* oklch */ color: oklch(39.7% 0.205 272.3);
Tailwind
colors: {
  custom: {
    50: '#7b66ca',
    500: '#2b2ab2',
    950: '#000000',
  },
}
SCSS
$custom: #2b2ab2;
$custom-light: #7b66ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2ab2",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 178
  },
  "hsl": {
    "h": 240.441,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.39734,
    "c": 0.20509,
    "h": 272.3
  },
  "luminance": 0.05384
}

Semantic roles & 50–950 ramp

primary
#2B2AB2
secondary
#C6C771
accent
#E543E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2B2AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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