#2B2452#2B2452

#2B2452 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.5% C 0.081 H 287.3°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#2B2452
RGBrgb(43, 36, 82)
HSLhsl(249, 39%, 23%)
HSVhsv(249, 56%, 32%)
CMYKcmyk(47.6%, 56.1%, 0%, 67.8%)
CIE-LABlab(17.39, 16.69, -27.15)
CIE-LCHlch(17.39, 31.87, 301.58°)
OKLaboklab(29.46% 0.0241 -0.0771)
OKLCHoklch(29.46% 0.081 287.3)
XYZxyz(3.1497, 2.3844, 8.2753)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2452 #4B5224
analogous
#243452 #2B2452 #422452
triadic
#2B2452 #522B24 #24522B
tetradic
#2B2452 #522434 #4B5224 #245242
square
#2B2452 #522434 #4B5224 #245242
split-complementary
#2B2452 #524224 #345224
monochromatic
#0B0915 #151127 #2B2452 #41377D #5849A7

Accessibility & contrast

On white

14.22
#2B2452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#2B2452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2452
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2452#FFFFFF#000000##FFFFFF
##2B24521.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2C54
Deuteranopia (green-blind)
#0F2951
Tritanopia (blue-blind)
#1F2E37
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2b2452;
/* rgb */ color: rgb(43, 36, 82);
/* oklch */ color: oklch(29.5% 0.081 287.3);
Tailwind
colors: {
  custom: {
    50: '#675e83',
    500: '#2b2452',
    950: '#000000',
  },
}
SCSS
$custom: #2b2452;
$custom-light: #675e83;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2452",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 82
  },
  "hsl": {
    "h": 249.13,
    "s": 38.983,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29459,
    "c": 0.0808,
    "h": 287.3
  },
  "luminance": 0.02385
}

Semantic roles & 50–950 ramp

primary
#2B2452
secondary
#7D864C
accent
#CF59BD
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06040A
muted
#7A797C

Preview Lab

Preview with #2B2452

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

Preview Lab → · Contrast checker → · Palette generator →

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