#2B2991#2B2991

#2B2991 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.1% C 0.165 H 275.2°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#2B2991
RGBrgb(43, 41, 145)
HSLhsl(241, 56%, 36%)
HSVhsv(241, 72%, 57%)
CMYKcmyk(70.3%, 71.7%, 0%, 43.1%)
CIE-LABlab(24.14, 35.55, -56.78)
CIE-LCHlch(24.14, 66.99, 302.05°)
OKLaboklab(36.1% 0.0148 -0.1641)
OKLCHoklch(36.1% 0.165 275.2)
XYZxyz(6.8983, 4.1432, 27.2187)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2991 #8F9129
analogous
#295B91 #2B2991 #5F2991
triadic
#2B2991 #912B29 #29912B
tetradic
#2B2991 #91295B #8F9129 #29915F
square
#2B2991 #91295B #8F9129 #29915F
split-complementary
#2B2991 #915F29 #5B9129
monochromatic
#0F0E32 #1D1C61 #2B2991 #3936C1 #6462D3

Accessibility & contrast

On white

11.48
#2B2991 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2B2991 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2991
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2991#FFFFFF#000000##FFFFFF
##2B29911.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E94
Deuteranopia (green-blind)
#00358F
Tritanopia (blue-blind)
#00465A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b2991;
/* rgb */ color: rgb(43, 41, 145);
/* oklch */ color: oklch(36.1% 0.165 275.2);
Tailwind
colors: {
  custom: {
    50: '#7464b2',
    500: '#2b2991',
    950: '#000000',
  },
}
SCSS
$custom: #2b2991;
$custom-light: #7464b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2991",
  "rgb": {
    "r": 43,
    "g": 41,
    "b": 145
  },
  "hsl": {
    "h": 241.154,
    "s": 55.914,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36101,
    "c": 0.16476,
    "h": 275.2
  },
  "luminance": 0.04144
}

Semantic roles & 50–950 ramp

primary
#2B2991
secondary
#B7B85D
accent
#DF49DC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2B2991

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

Preview Lab → · Contrast checker → · Palette generator →

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