#2B189B#2B189B

#2B189B is a dark, vivid blue. Relative luminance 0.035; OKLCH L 35.0% C 0.193 H 276.2°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#2B189B
RGBrgb(43, 24, 155)
HSLhsl(249, 73%, 35%)
HSVhsv(249, 85%, 61%)
CMYKcmyk(72.3%, 84.5%, 0%, 39.2%)
CIE-LABlab(22.06, 47.87, -66.38)
CIE-LCHlch(22.06, 81.84, 305.80°)
OKLaboklab(34.97% 0.0209 -0.1918)
OKLCHoklch(34.97% 0.193 276.2)
XYZxyz(7.2374, 3.5327, 31.3045)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B189B #889B18
analogous
#18479B #2B189B #6C189B
triadic
#2B189B #9B2B18 #189B2B
tetradic
#2B189B #9B1847 #889B18 #189B6C
square
#2B189B #9B1847 #889B18 #189B6C
split-complementary
#2B189B #9B6C18 #479B18
monochromatic
#0E0831 #1C1066 #2B189B #3A20D0 #614AE3

Accessibility & contrast

On white

12.31
#2B189B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2B189B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B189B
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B189B#FFFFFF#000000##FFFFFF
##2B189B1.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A9E
Deuteranopia (green-blind)
#002F99
Tritanopia (blue-blind)
#00425C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2b189b;
/* rgb */ color: rgb(43, 24, 155);
/* oklch */ color: oklch(35.0% 0.193 276.2);
Tailwind
colors: {
  custom: {
    50: '#775aba',
    500: '#2b189b',
    950: '#000000',
  },
}
SCSS
$custom: #2b189b;
$custom-light: #775aba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b189b",
  "rgb": {
    "r": 43,
    "g": 24,
    "b": 155
  },
  "hsl": {
    "h": 248.702,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34966,
    "c": 0.19296,
    "h": 276.2
  },
  "luminance": 0.03533
}

Semantic roles & 50–950 ramp

primary
#2B189B
secondary
#B3C54A
accent
#F038D5
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2B189B

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

Preview Lab → · Contrast checker → · Palette generator →

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