#2B2189#2B2189

#2B2189 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.0% C 0.163 H 277.6°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#2B2189
RGBrgb(43, 33, 137)
HSLhsl(246, 61%, 33%)
HSVhsv(246, 76%, 54%)
CMYKcmyk(68.6%, 75.9%, 0%, 46.3%)
CIE-LABlab(21.60, 37.59, -55.98)
CIE-LCHlch(21.60, 67.43, 303.88°)
OKLaboklab(34.05% 0.0215 -0.1617)
OKLCHoklch(34.05% 0.163 277.6)
XYZxyz(6.0540, 3.4069, 24.0006)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2189 #7F8921
analogous
#214B89 #2B2189 #5F2189
triadic
#2B2189 #892B21 #21892B
tetradic
#2B2189 #89214B #7F8921 #21895F
square
#2B2189 #89214B #7F8921 #21895F
split-complementary
#2B2189 #895F21 #4B8921
monochromatic
#0C0926 #1C1558 #2B2189 #3A2DBA #5C50D5

Accessibility & contrast

On white

12.49
#2B2189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2B2189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2189
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2189#FFFFFF#000000##FFFFFF
##2B21891.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b2189;
/* rgb */ color: rgb(43, 33, 137);
/* oklch */ color: oklch(34.0% 0.163 277.6);
Tailwind
colors: {
  custom: {
    50: '#725ead',
    500: '#2b2189',
    950: '#000000',
  },
}
SCSS
$custom: #2b2189;
$custom-light: #725ead;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2189",
  "rgb": {
    "r": 43,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 245.769,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34047,
    "c": 0.16312,
    "h": 277.6
  },
  "luminance": 0.03407
}

Semantic roles & 50–950 ramp

primary
#2B2189
secondary
#AEB84E
accent
#E444D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2B2189

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

Preview Lab → · Contrast checker → · Palette generator →

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