#2B2282#2B2282

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

Color values

HEX#2B2282
RGBrgb(43, 34, 130)
HSLhsl(246, 59%, 32%)
HSVhsv(246, 74%, 51%)
CMYKcmyk(66.9%, 73.8%, 0%, 49%)
CIE-LABlab(21.09, 34.65, -52.43)
CIE-LCHlch(21.09, 62.84, 303.46°)
OKLaboklab(33.46% 0.0223 -0.1513)
OKLCHoklch(33.46% 0.153 278.4)
XYZxyz(5.5963, 3.2689, 21.4508)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2282 #798222
analogous
#224982 #2B2282 #5B2282
triadic
#2B2282 #822B22 #22822B
tetradic
#2B2282 #822249 #798222 #22825B
square
#2B2282 #822249 #798222 #22825B
split-complementary
#2B2282 #825B22 #498222
monochromatic
#0B0921 #1B1551 #2B2282 #3B2FB3 #5A4ED1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B2282#FFFFFF#000000##FFFFFF
##2B22821.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)
#003685
Deuteranopia (green-blind)
#002F80
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2b2282;
/* rgb */ color: rgb(43, 34, 130);
/* oklch */ color: oklch(33.5% 0.153 278.4);
Tailwind
colors: {
  custom: {
    50: '#715ea7',
    500: '#2b2282',
    950: '#000000',
  },
}
SCSS
$custom: #2b2282;
$custom-light: #715ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2282",
  "rgb": {
    "r": 43,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 245.625,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33463,
    "c": 0.15296,
    "h": 278.4
  },
  "luminance": 0.03269
}

Semantic roles & 50–950 ramp

primary
#2B2282
secondary
#AAB44C
accent
#E246D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2B2282

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

Preview Lab → · Contrast checker → · Palette generator →

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