#2B2582#2B2582

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

Color values

HEX#2B2582
RGBrgb(43, 37, 130)
HSLhsl(244, 56%, 33%)
HSVhsv(244, 72%, 51%)
CMYKcmyk(66.9%, 71.5%, 0%, 49%)
CIE-LABlab(21.76, 32.81, -51.33)
CIE-LCHlch(21.76, 60.92, 302.58°)
OKLaboklab(33.94% 0.02 -0.1481)
OKLCHoklch(33.94% 0.15 277.7)
XYZxyz(5.6858, 3.4480, 21.4807)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2582 #7C8225
analogous
#254D82 #2B2582 #592582
triadic
#2B2582 #822B25 #25822B
tetradic
#2B2582 #82254D #7C8225 #258259
square
#2B2582 #82254D #7C8225 #258259
split-complementary
#2B2582 #825925 #4D8225
monochromatic
#0B0A23 #1B1752 #2B2582 #3B33B2 #5B53CE

Accessibility & contrast

On white

12.43
#2B2582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2B2582 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2582
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2582#FFFFFF#000000##FFFFFF
##2B25821.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003885
Deuteranopia (green-blind)
#003080
Tritanopia (blue-blind)
#003E50
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2b2582;
/* rgb */ color: rgb(43, 37, 130);
/* oklch */ color: oklch(33.9% 0.149 277.7);
Tailwind
colors: {
  custom: {
    50: '#7060a7',
    500: '#2b2582',
    950: '#000000',
  },
}
SCSS
$custom: #2b2582;
$custom-light: #7060a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2582",
  "rgb": {
    "r": 43,
    "g": 37,
    "b": 130
  },
  "hsl": {
    "h": 243.871,
    "s": 55.689,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33939,
    "c": 0.1495,
    "h": 277.7
  },
  "luminance": 0.03448
}

Semantic roles & 50–950 ramp

primary
#2B2582
secondary
#ACB250
accent
#DF49D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #2B2582

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

Preview Lab → · Contrast checker → · Palette generator →

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