#2B2196#2B2196

#2B2196 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.5% C 0.179 H 275.9°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#2B2196
RGBrgb(43, 33, 150)
HSLhsl(245, 64%, 36%)
HSVhsv(245, 78%, 59%)
CMYKcmyk(71.3%, 78%, 0%, 41.2%)
CIE-LABlab(23.01, 41.88, -61.74)
CIE-LCHlch(23.01, 74.60, 304.15°)
OKLaboklab(35.46% 0.0185 -0.1785)
OKLCHoklch(35.46% 0.179 275.9)
XYZxyz(7.0433, 3.8027, 29.2110)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2196 #8C9621
analogous
#215196 #2B2196 #652196
triadic
#2B2196 #962B21 #21962B
tetradic
#2B2196 #962151 #8C9621 #219665
square
#2B2196 #962151 #8C9621 #219665
split-complementary
#2B2196 #966521 #519621
monochromatic
#0E0B32 #1D1664 #2B2196 #392CC8 #6257DA

Accessibility & contrast

On white

11.93
#2B2196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2B2196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2196
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2196#FFFFFF#000000##FFFFFF
##2B21961.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b2196;
/* rgb */ color: rgb(43, 33, 150);
/* oklch */ color: oklch(35.5% 0.179 275.9);
Tailwind
colors: {
  custom: {
    50: '#755fb6',
    500: '#2b2196',
    950: '#000000',
  },
}
SCSS
$custom: #2b2196;
$custom-light: #755fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2196",
  "rgb": {
    "r": 43,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 245.128,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35455,
    "c": 0.17942,
    "h": 275.9
  },
  "luminance": 0.03803
}

Semantic roles & 50–950 ramp

primary
#2B2196
secondary
#B5BE55
accent
#E741D9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2B2196

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

Preview Lab → · Contrast checker → · Palette generator →

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