#2B2AAB#2B2AAB

#2B2AAB is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.0% C 0.197 H 272.8°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#2B2AAB
RGBrgb(43, 42, 171)
HSLhsl(240, 61%, 42%)
HSVhsv(240, 75%, 67%)
CMYKcmyk(74.9%, 75.4%, 0%, 32.9%)
CIE-LABlab(27.04, 43.81, -67.85)
CIE-LCHlch(27.04, 80.77, 302.85°)
OKLaboklab(38.98% 0.0097 -0.1963)
OKLCHoklch(38.98% 0.197 272.8)
XYZxyz(9.1724, 5.1088, 39.0229)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2AAB #AAAB2A
analogous
#2A6AAB #2B2AAB #6C2AAB
triadic
#2B2AAB #AB2B2A #2AAB2B
tetradic
#2B2AAB #AB2A6A #AAAB2A #2AAB6C
square
#2B2AAB #AB2A6A #AAAB2A #2AAB6C
split-complementary
#2B2AAB #AB6C2A #6AAB2A
monochromatic
#121249 #1F1E7A #2B2AAB #4342D1 #7473DD

Accessibility & contrast

On white

10.39
#2B2AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2B2AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2AAB
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2AAB#FFFFFF#000000##FFFFFF
##2B2AAB1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AF
Deuteranopia (green-blind)
#003AA9
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b2aab;
/* rgb */ color: rgb(43, 42, 171);
/* oklch */ color: oklch(39.0% 0.197 272.8);
Tailwind
colors: {
  custom: {
    50: '#7a65c5',
    500: '#2b2aab',
    950: '#000000',
  },
}
SCSS
$custom: #2b2aab;
$custom-light: #7a65c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2aab",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 171
  },
  "hsl": {
    "h": 240.465,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.38976,
    "c": 0.19659,
    "h": 272.8
  },
  "luminance": 0.0511
}

Semantic roles & 50–950 ramp

primary
#2B2AAB
secondary
#C3C46D
accent
#E444E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2B2AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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