#2B2188#2B2188

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

Color values

HEX#2B2188
RGBrgb(43, 33, 136)
HSLhsl(246, 61%, 33%)
HSVhsv(246, 76%, 53%)
CMYKcmyk(68.4%, 75.7%, 0%, 46.7%)
CIE-LABlab(21.50, 37.26, -55.53)
CIE-LCHlch(21.50, 66.87, 303.86°)
OKLaboklab(33.94% 0.0217 -0.1604)
OKLCHoklch(33.94% 0.162 277.7)
XYZxyz(5.9826, 3.3784, 23.6246)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2188 #7E8821
analogous
#214A88 #2B2188 #5E2188
triadic
#2B2188 #882B21 #21882B
tetradic
#2B2188 #88214A #7E8821 #21885E
square
#2B2188 #88214A #7E8821 #21885E
split-complementary
#2B2188 #885E21 #4A8821
monochromatic
#0C0925 #1B1557 #2B2188 #3B2DB9 #5C4FD4

Accessibility & contrast

On white

12.53
#2B2188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2188
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2188#FFFFFF#000000##FFFFFF
##2B21881.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388B
Deuteranopia (green-blind)
#002F86
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2b2188;
/* rgb */ color: rgb(43, 33, 136);
/* oklch */ color: oklch(33.9% 0.162 277.7);
Tailwind
colors: {
  custom: {
    50: '#725eac',
    500: '#2b2188',
    950: '#000000',
  },
}
SCSS
$custom: #2b2188;
$custom-light: #725eac;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2188",
  "rgb": {
    "r": 43,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 245.825,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33941,
    "c": 0.16184,
    "h": 277.7
  },
  "luminance": 0.03379
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B2188

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

Preview Lab → · Contrast checker → · Palette generator →

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