#2B2AB5#2B2AB5

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

Color values

HEX#2B2AB5
RGBrgb(43, 42, 181)
HSLhsl(240, 62%, 44%)
HSVhsv(240, 77%, 71%)
CMYKcmyk(76.2%, 76.8%, 0%, 29%)
CIE-LABlab(28.13, 47.11, -72.04)
CIE-LCHlch(28.13, 86.08, 303.18°)
OKLaboklab(40.06% 0.0078 -0.2085)
OKLCHoklch(40.06% 0.209 272.1)
XYZxyz(10.1619, 5.5046, 44.2340)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2AB5 #B4B52A
analogous
#2A6EB5 #2B2AB5 #702AB5
triadic
#2B2AB5 #B52B2A #2AB52B
tetradic
#2B2AB5 #B52A6E #B4B52A #2AB570
square
#2B2AB5 #B52A6E #B4B52A #2AB570
split-complementary
#2B2AB5 #B5702A #6EB52A
monochromatic
#131352 #1F1E83 #2B2AB5 #4948D4 #7A79E0

Accessibility & contrast

On white

9.99
#2B2AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2B2AB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2AB5
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2AB5#FFFFFF#000000##FFFFFF
##2B2AB51.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B9
Deuteranopia (green-blind)
#003BB3
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b2ab5;
/* rgb */ color: rgb(43, 42, 181);
/* oklch */ color: oklch(40.1% 0.209 272.1);
Tailwind
colors: {
  custom: {
    50: '#7c66cd',
    500: '#2b2ab5',
    950: '#000000',
  },
}
SCSS
$custom: #2b2ab5;
$custom-light: #7c66cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2ab5",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 240.432,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40062,
    "c": 0.20868,
    "h": 272.1
  },
  "luminance": 0.05506
}

Semantic roles & 50–950 ramp

primary
#2B2AB5
secondary
#C7C873
accent
#E542E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2B2AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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