#2B2391#2B2391

#2B2391 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.171 H 276.2°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#2B2391
RGBrgb(43, 35, 145)
HSLhsl(244, 61%, 35%)
HSVhsv(244, 76%, 57%)
CMYKcmyk(70.3%, 75.9%, 0%, 43.1%)
CIE-LABlab(22.86, 39.11, -58.89)
CIE-LCHlch(22.86, 70.70, 303.59°)
OKLaboklab(35.19% 0.0185 -0.1702)
OKLCHoklch(35.19% 0.171 276.2)
XYZxyz(6.7065, 3.7594, 27.1548)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2391 #899123
analogous
#235291 #2B2391 #622391
triadic
#2B2391 #912B23 #23912B
tetradic
#2B2391 #912352 #899123 #239162
square
#2B2391 #912352 #899123 #239162
split-complementary
#2B2391 #916223 #529123
monochromatic
#0E0B2E #1C1760 #2B2391 #3A2FC2 #6158D7

Accessibility & contrast

On white

11.99
#2B2391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2391
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2391#FFFFFF#000000##FFFFFF
##2B23911.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B94
Deuteranopia (green-blind)
#00328F
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b2391;
/* rgb */ color: rgb(43, 35, 145);
/* oklch */ color: oklch(35.2% 0.171 276.2);
Tailwind
colors: {
  custom: {
    50: '#7460b2',
    500: '#2b2391',
    950: '#000000',
  },
}
SCSS
$custom: #2b2391;
$custom-light: #7460b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2391",
  "rgb": {
    "r": 43,
    "g": 35,
    "b": 145
  },
  "hsl": {
    "h": 244.364,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35189,
    "c": 0.17121,
    "h": 276.2
  },
  "luminance": 0.0376
}

Semantic roles & 50–950 ramp

primary
#2B2391
secondary
#B3BB55
accent
#E444D9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2B2391

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

Preview Lab → · Contrast checker → · Palette generator →

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