#2B2191#2B2191

#2B2191 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.9% C 0.173 H 276.5°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#2B2191
RGBrgb(43, 33, 145)
HSLhsl(245, 63%, 35%)
HSVhsv(245, 77%, 57%)
CMYKcmyk(70.3%, 77.2%, 0%, 43.1%)
CIE-LABlab(22.46, 40.24, -59.55)
CIE-LCHlch(22.46, 71.87, 304.05°)
OKLaboklab(34.91% 0.0196 -0.1721)
OKLCHoklch(34.91% 0.173 276.5)
XYZxyz(6.6493, 3.6450, 27.1357)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2191 #879121
analogous
#214F91 #2B2191 #632191
triadic
#2B2191 #912B21 #21912B
tetradic
#2B2191 #91214F #879121 #219163
square
#2B2191 #91214F #879121 #219163
split-complementary
#2B2191 #916321 #4F9121
monochromatic
#0D0A2D #1C165F #2B2191 #3A2CC3 #6054D8

Accessibility & contrast

On white

12.14
#2B2191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2B2191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2191
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2191#FFFFFF#000000##FFFFFF
##2B21911.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A94
Deuteranopia (green-blind)
#00318F
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2b2191;
/* rgb */ color: rgb(43, 33, 145);
/* oklch */ color: oklch(34.9% 0.173 276.5);
Tailwind
colors: {
  custom: {
    50: '#745fb2',
    500: '#2b2191',
    950: '#000000',
  },
}
SCSS
$custom: #2b2191;
$custom-light: #745fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2191",
  "rgb": {
    "r": 43,
    "g": 33,
    "b": 145
  },
  "hsl": {
    "h": 245.357,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34908,
    "c": 0.17322,
    "h": 276.5
  },
  "luminance": 0.03646
}

Semantic roles & 50–950 ramp

primary
#2B2191
secondary
#B2BC52
accent
#E642D7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #2B2191

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

Preview Lab → · Contrast checker → · Palette generator →

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