#2B2289#2B2289

#2B2289 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.2% C 0.162 H 277.4°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#2B2289
RGBrgb(43, 34, 137)
HSLhsl(245, 60%, 34%)
HSVhsv(245, 75%, 54%)
CMYKcmyk(68.6%, 75.2%, 0%, 46.3%)
CIE-LABlab(21.81, 37.01, -55.64)
CIE-LCHlch(21.81, 66.82, 303.63°)
OKLaboklab(34.19% 0.0208 -0.1607)
OKLCHoklch(34.19% 0.162 277.4)
XYZxyz(6.0822, 3.4633, 24.0100)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2289 #808922
analogous
#224C89 #2B2289 #5E2289
triadic
#2B2289 #892B22 #22892B
tetradic
#2B2289 #89224C #808922 #22895E
square
#2B2289 #89224C #808922 #22895E
split-complementary
#2B2289 #895E22 #4C8922
monochromatic
#0C0A27 #1C1658 #2B2289 #3A2EBA #5D51D4

Accessibility & contrast

On white

12.41
#2B2289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2B2289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2289
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2289#FFFFFF#000000##FFFFFF
##2B22891.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#003087
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2b2289;
/* rgb */ color: rgb(43, 34, 137);
/* oklch */ color: oklch(34.2% 0.162 277.4);
Tailwind
colors: {
  custom: {
    50: '#725fac',
    500: '#2b2289',
    950: '#000000',
  },
}
SCSS
$custom: #2b2289;
$custom-light: #725fac;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2289",
  "rgb": {
    "r": 43,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 245.243,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34193,
    "c": 0.16205,
    "h": 277.4
  },
  "luminance": 0.03464
}

Semantic roles & 50–950 ramp

primary
#2B2289
secondary
#AEB84F
accent
#E344D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2B2289

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

Preview Lab → · Contrast checker → · Palette generator →

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