#2B2284#2B2284

#2B2284 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.7% C 0.156 H 278.1°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#2B2284
RGBrgb(43, 34, 132)
HSLhsl(246, 59%, 33%)
HSVhsv(246, 74%, 52%)
CMYKcmyk(67.4%, 74.2%, 0%, 48.2%)
CIE-LABlab(21.29, 35.32, -53.35)
CIE-LCHlch(21.29, 63.99, 303.51°)
OKLaboklab(33.67% 0.0219 -0.154)
OKLCHoklch(33.67% 0.156 278.1)
XYZxyz(5.7318, 3.3231, 22.1647)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2284 #7B8422
analogous
#224A84 #2B2284 #5C2284
triadic
#2B2284 #842B22 #22842B
tetradic
#2B2284 #84224A #7B8422 #22845C
square
#2B2284 #84224A #7B8422 #22845C
split-complementary
#2B2284 #845C22 #4A8422
monochromatic
#0B0923 #1B1553 #2B2284 #3B2FB5 #5B4FD2

Accessibility & contrast

On white

12.61
#2B2284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2B2284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2284
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2284#FFFFFF#000000##FFFFFF
##2B22841.0012.611.6612.61
#FFFFFF12.611.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b2284;
/* rgb */ color: rgb(43, 34, 132);
/* oklch */ color: oklch(33.7% 0.156 278.1);
Tailwind
colors: {
  custom: {
    50: '#715ea9',
    500: '#2b2284',
    950: '#000000',
  },
}
SCSS
$custom: #2b2284;
$custom-light: #715ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2284",
  "rgb": {
    "r": 43,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 245.51,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.3367,
    "c": 0.15558,
    "h": 278.1
  },
  "luminance": 0.03324
}

Semantic roles & 50–950 ramp

primary
#2B2284
secondary
#ABB54D
accent
#E246D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2B2284

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

Preview Lab → · Contrast checker → · Palette generator →

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