#2B2085#2B2085

#2B2085 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.159 H 278.3°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#2B2085
RGBrgb(43, 32, 133)
HSLhsl(247, 61%, 32%)
HSVhsv(247, 76%, 52%)
CMYKcmyk(67.7%, 75.9%, 0%, 47.8%)
CIE-LABlab(20.98, 36.83, -54.50)
CIE-LCHlch(20.98, 65.78, 304.05°)
OKLaboklab(33.48% 0.023 -0.1574)
OKLCHoklch(33.48% 0.159 278.3)
XYZxyz(5.7450, 3.2396, 22.5083)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2085 #7A8520
analogous
#204785 #2B2085 #5E2085
triadic
#2B2085 #852B20 #20852B
tetradic
#2B2085 #852047 #7A8520 #20855E
square
#2B2085 #852047 #7A8520 #20855E
split-complementary
#2B2085 #855E20 #478520
monochromatic
#0B0822 #1B1454 #2B2085 #3B2CB6 #5A4CD4

Accessibility & contrast

On white

12.74
#2B2085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2085
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2085#FFFFFF#000000##FFFFFF
##2B20851.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#002E83
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2b2085;
/* rgb */ color: rgb(43, 32, 133);
/* oklch */ color: oklch(33.5% 0.159 278.3);
Tailwind
colors: {
  custom: {
    50: '#725daa',
    500: '#2b2085',
    950: '#000000',
  },
}
SCSS
$custom: #2b2085;
$custom-light: #725daa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2085",
  "rgb": {
    "r": 43,
    "g": 32,
    "b": 133
  },
  "hsl": {
    "h": 246.535,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33478,
    "c": 0.15905,
    "h": 278.3
  },
  "luminance": 0.0324
}

Semantic roles & 50–950 ramp

primary
#2B2085
secondary
#ABB74A
accent
#E443D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2B2085

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

Preview Lab → · Contrast checker → · Palette generator →

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