#2B1988#2B1988

#2B1988 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.170 H 278.9°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#2B1988
RGBrgb(43, 25, 136)
HSLhsl(250, 69%, 32%)
HSVhsv(250, 82%, 53%)
CMYKcmyk(68.4%, 81.6%, 0%, 46.7%)
CIE-LABlab(19.99, 41.58, -58.02)
CIE-LCHlch(19.99, 71.38, 305.62°)
OKLaboklab(32.88% 0.0263 -0.1676)
OKLCHoklch(32.88% 0.17 278.9)
XYZxyz(5.7864, 2.9859, 23.5592)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1988 #768819
analogous
#193F88 #2B1988 #631988
triadic
#2B1988 #882B19 #19882B
tetradic
#2B1988 #88193F #768819 #198863
square
#2B1988 #88193F #768819 #198863
split-complementary
#2B1988 #886319 #3F8819
monochromatic
#0A0621 #1B0F54 #2B1988 #3B23BC #5940DC

Accessibility & contrast

On white

13.15
#2B1988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2B1988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1988
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1988#FFFFFF#000000##FFFFFF
##2B19881.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348B
Deuteranopia (green-blind)
#002C86
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2b1988;
/* rgb */ color: rgb(43, 25, 136);
/* oklch */ color: oklch(32.9% 0.170 278.9);
Tailwind
colors: {
  custom: {
    50: '#7359ac',
    500: '#2b1988',
    950: '#000000',
  },
}
SCSS
$custom: #2b1988;
$custom-light: #7359ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1988",
  "rgb": {
    "r": 43,
    "g": 25,
    "b": 136
  },
  "hsl": {
    "h": 249.73,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3288,
    "c": 0.16963,
    "h": 278.9
  },
  "luminance": 0.02986
}

Semantic roles & 50–950 ramp

primary
#2B1988
secondary
#A8BB41
accent
#EC3CCF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2B1988

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

Preview Lab → · Contrast checker → · Palette generator →

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