#2B2096#2B2096

#2B2096 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.3% C 0.180 H 276.0°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#2B2096
RGBrgb(43, 32, 150)
HSLhsl(246, 65%, 36%)
HSVhsv(246, 79%, 59%)
CMYKcmyk(71.3%, 78.7%, 0%, 41.2%)
CIE-LABlab(22.82, 42.41, -62.05)
CIE-LCHlch(22.82, 75.16, 304.36°)
OKLaboklab(35.32% 0.019 -0.1794)
OKLCHoklch(35.32% 0.18 276)
XYZxyz(7.0160, 3.7480, 29.2019)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2096 #8B9620
analogous
#205096 #2B2096 #662096
triadic
#2B2096 #962B20 #20962B
tetradic
#2B2096 #962050 #8B9620 #209666
square
#2B2096 #962050 #8B9620 #209666
split-complementary
#2B2096 #966620 #509620
monochromatic
#0E0A31 #1D1564 #2B2096 #392BC8 #6256DB

Accessibility & contrast

On white

12.00
#2B2096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2B2096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2096
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2096#FFFFFF#000000##FFFFFF
##2B20961.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B99
Deuteranopia (green-blind)
#003194
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2b2096;
/* rgb */ color: rgb(43, 32, 150);
/* oklch */ color: oklch(35.3% 0.180 276.0);
Tailwind
colors: {
  custom: {
    50: '#765eb6',
    500: '#2b2096',
    950: '#000000',
  },
}
SCSS
$custom: #2b2096;
$custom-light: #765eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2096",
  "rgb": {
    "r": 43,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 245.593,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35323,
    "c": 0.18037,
    "h": 276
  },
  "luminance": 0.03749
}

Semantic roles & 50–950 ramp

primary
#2B2096
secondary
#B5BE53
accent
#E840D8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2B2096

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

Preview Lab → · Contrast checker → · Palette generator →

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