#2B2089#2B2089

#2B2089 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.164 H 277.7°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#2B2089
RGBrgb(43, 32, 137)
HSLhsl(246, 62%, 33%)
HSVhsv(246, 77%, 54%)
CMYKcmyk(68.6%, 76.6%, 0%, 46.3%)
CIE-LABlab(21.40, 38.16, -56.31)
CIE-LCHlch(21.40, 68.03, 304.13°)
OKLaboklab(33.9% 0.0221 -0.1627)
OKLCHoklch(33.9% 0.164 277.7)
XYZxyz(6.0267, 3.3522, 23.9915)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2089 #7E8920
analogous
#204989 #2B2089 #5F2089
triadic
#2B2089 #892B20 #20892B
tetradic
#2B2089 #892049 #7E8920 #20895F
square
#2B2089 #892049 #7E8920 #20895F
split-complementary
#2B2089 #895F20 #498920
monochromatic
#0C0926 #1B1457 #2B2089 #3B2CBB #5C4ED6

Accessibility & contrast

On white

12.57
#2B2089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2B2089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2089
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2089#FFFFFF#000000##FFFFFF
##2B20891.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#002F87
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2b2089;
/* rgb */ color: rgb(43, 32, 137);
/* oklch */ color: oklch(33.9% 0.164 277.7);
Tailwind
colors: {
  custom: {
    50: '#735ead',
    500: '#2b2089',
    950: '#000000',
  },
}
SCSS
$custom: #2b2089;
$custom-light: #735ead;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2089",
  "rgb": {
    "r": 43,
    "g": 32,
    "b": 137
  },
  "hsl": {
    "h": 246.286,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33904,
    "c": 0.16415,
    "h": 277.7
  },
  "luminance": 0.03353
}

Semantic roles & 50–950 ramp

primary
#2B2089
secondary
#ADB94C
accent
#E543D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2B2089

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

Preview Lab → · Contrast checker → · Palette generator →

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