#2B289B#2B289B

#2B289B is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.0% C 0.179 H 274.4°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#2B289B
RGBrgb(43, 40, 155)
HSLhsl(242, 59%, 38%)
HSVhsv(242, 74%, 61%)
CMYKcmyk(72.3%, 74.2%, 0%, 39.2%)
CIE-LABlab(24.94, 39.59, -61.61)
CIE-LCHlch(24.94, 73.23, 302.72°)
OKLaboklab(36.98% 0.0137 -0.1782)
OKLCHoklch(36.98% 0.179 274.4)
XYZxyz(7.6695, 4.3970, 31.4485)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B289B #989B28
analogous
#285E9B #2B289B #64289B
triadic
#2B289B #9B2B28 #289B2B
tetradic
#2B289B #9B285E #989B28 #289B64
square
#2B289B #9B285E #989B28 #289B64
split-complementary
#2B289B #9B6428 #5E9B28
monochromatic
#100F3A #1E1B6A #2B289B #3935CB #6966D7

Accessibility & contrast

On white

11.17
#2B289B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2B289B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B289B
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B289B#FFFFFF#000000##FFFFFF
##2B289B1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409E
Deuteranopia (green-blind)
#003699
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b289b;
/* rgb */ color: rgb(43, 40, 155);
/* oklch */ color: oklch(37.0% 0.179 274.4);
Tailwind
colors: {
  custom: {
    50: '#7663ba',
    500: '#2b289b',
    950: '#000000',
  },
}
SCSS
$custom: #2b289b;
$custom-light: #7663ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b289b",
  "rgb": {
    "r": 43,
    "g": 40,
    "b": 155
  },
  "hsl": {
    "h": 241.565,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.36982,
    "c": 0.17869,
    "h": 274.4
  },
  "luminance": 0.04398
}

Semantic roles & 50–950 ramp

primary
#2B289B
secondary
#BBBD61
accent
#E246DE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2B289B

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

Preview Lab → · Contrast checker → · Palette generator →

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