#2B2086#2B2086

#2B2086 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.160 H 278.2°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#2B2086
RGBrgb(43, 32, 134)
HSLhsl(246, 61%, 33%)
HSVhsv(246, 76%, 53%)
CMYKcmyk(67.9%, 76.1%, 0%, 47.5%)
CIE-LABlab(21.08, 37.17, -54.95)
CIE-LCHlch(21.08, 66.34, 304.07°)
OKLaboklab(33.58% 0.0228 -0.1587)
OKLCHoklch(33.58% 0.16 278.2)
XYZxyz(5.8145, 3.2674, 22.8739)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2086 #7B8620
analogous
#204886 #2B2086 #5E2086
triadic
#2B2086 #862B20 #20862B
tetradic
#2B2086 #862048 #7B8620 #20865E
square
#2B2086 #862048 #7B8620 #20865E
split-complementary
#2B2086 #865E20 #488620
monochromatic
#0B0823 #1B1455 #2B2086 #3B2CB7 #5B4CD4

Accessibility & contrast

On white

12.70
#2B2086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2B2086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2086
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2086#FFFFFF#000000##FFFFFF
##2B20861.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#002E84
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2b2086;
/* rgb */ color: rgb(43, 32, 134);
/* oklch */ color: oklch(33.6% 0.160 278.2);
Tailwind
colors: {
  custom: {
    50: '#725daa',
    500: '#2b2086',
    950: '#000000',
  },
}
SCSS
$custom: #2b2086;
$custom-light: #725daa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2086",
  "rgb": {
    "r": 43,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 246.471,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33584,
    "c": 0.16034,
    "h": 278.2
  },
  "luminance": 0.03268
}

Semantic roles & 50–950 ramp

primary
#2B2086
secondary
#ABB74B
accent
#E543D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2B2086

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

Preview Lab → · Contrast checker → · Palette generator →

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