#2B2296#2B2296

#2B2296 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.6% C 0.178 H 275.8°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#2B2296
RGBrgb(43, 34, 150)
HSLhsl(245, 63%, 36%)
HSVhsv(245, 77%, 59%)
CMYKcmyk(71.3%, 77.3%, 0%, 41.2%)
CIE-LABlab(23.20, 41.33, -61.42)
CIE-LCHlch(23.20, 74.03, 303.94°)
OKLaboklab(35.59% 0.0179 -0.1776)
OKLCHoklch(35.59% 0.178 275.8)
XYZxyz(7.0715, 3.8590, 29.2204)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2296 #8D9622
analogous
#225396 #2B2296 #652296
triadic
#2B2296 #962B22 #22962B
tetradic
#2B2296 #962253 #8D9622 #229665
square
#2B2296 #962253 #8D9622 #229665
split-complementary
#2B2296 #966522 #539622
monochromatic
#0E0B32 #1D1764 #2B2296 #392DC8 #6359D9

Accessibility & contrast

On white

11.85
#2B2296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2B2296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2296
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2296#FFFFFF#000000##FFFFFF
##2B22961.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C99
Deuteranopia (green-blind)
#003294
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b2296;
/* rgb */ color: rgb(43, 34, 150);
/* oklch */ color: oklch(35.6% 0.178 275.8);
Tailwind
colors: {
  custom: {
    50: '#755fb6',
    500: '#2b2296',
    950: '#000000',
  },
}
SCSS
$custom: #2b2296;
$custom-light: #755fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2296",
  "rgb": {
    "r": 43,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 244.655,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35589,
    "c": 0.17846,
    "h": 275.8
  },
  "luminance": 0.0386
}

Semantic roles & 50–950 ramp

primary
#2B2296
secondary
#B6BE56
accent
#E642D9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2B2296

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

Preview Lab → · Contrast checker → · Palette generator →

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