#2B2591#2B2591

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

Color values

HEX#2B2591
RGBrgb(43, 37, 145)
HSLhsl(243, 59%, 36%)
HSVhsv(243, 74%, 57%)
CMYKcmyk(70.3%, 74.5%, 0%, 43.1%)
CIE-LABlab(23.27, 37.96, -58.21)
CIE-LCHlch(23.27, 69.49, 303.11°)
OKLaboklab(35.48% 0.0173 -0.1682)
OKLCHoklch(35.48% 0.169 275.9)
XYZxyz(6.7670, 3.8804, 27.1750)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2591 #8B9125
analogous
#255591 #2B2591 #612591
triadic
#2B2591 #912B25 #25912B
tetradic
#2B2591 #912555 #8B9125 #259161
square
#2B2591 #912555 #8B9125 #259161
split-complementary
#2B2591 #916125 #559125
monochromatic
#0E0C2F #1D1960 #2B2591 #3931C2 #625BD5

Accessibility & contrast

On white

11.82
#2B2591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2B2591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2591
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2591#FFFFFF#000000##FFFFFF
##2B25911.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C94
Deuteranopia (green-blind)
#00338F
Tritanopia (blue-blind)
#004459
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b2591;
/* rgb */ color: rgb(43, 37, 145);
/* oklch */ color: oklch(35.5% 0.169 275.9);
Tailwind
colors: {
  custom: {
    50: '#7461b2',
    500: '#2b2591',
    950: '#000000',
  },
}
SCSS
$custom: #2b2591;
$custom-light: #7461b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2591",
  "rgb": {
    "r": 43,
    "g": 37,
    "b": 145
  },
  "hsl": {
    "h": 243.333,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35482,
    "c": 0.16913,
    "h": 275.9
  },
  "luminance": 0.03881
}

Semantic roles & 50–950 ramp

primary
#2B2591
secondary
#B5BA58
accent
#E345DA
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2B2591

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

Preview Lab → · Contrast checker → · Palette generator →

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