#2D2B84#2D2B84

#2D2B84 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.144 H 277.0°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#2D2B84
RGBrgb(45, 43, 132)
HSLhsl(241, 51%, 34%)
HSVhsv(241, 67%, 52%)
CMYKcmyk(65.9%, 67.4%, 0%, 48.2%)
CIE-LABlab(23.51, 29.99, -49.71)
CIE-LCHlch(23.51, 58.06, 301.10°)
OKLaboklab(35.3% 0.0176 -0.1433)
OKLCHoklch(35.3% 0.144 277)
XYZxyz(6.1096, 3.9511, 22.2660)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2B84 #82842B
analogous
#2B5684 #2D2B84 #5A2B84
triadic
#2D2B84 #842D2B #2B842D
tetradic
#2D2B84 #842B56 #82842B #2B845A
square
#2D2B84 #842B56 #82842B #2B845A
split-complementary
#2D2B84 #845A2B #56842B
monochromatic
#0E0D28 #1D1C56 #2D2B84 #3D3AB2 #615FCB

Accessibility & contrast

On white

11.73
#2D2B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2D2B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2B84
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2B84#FFFFFF#000000##FFFFFF
##2D2B841.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C87
Deuteranopia (green-blind)
#003482
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2d2b84;
/* rgb */ color: rgb(45, 43, 132);
/* oklch */ color: oklch(35.3% 0.144 277.0);
Tailwind
colors: {
  custom: {
    50: '#7165a9',
    500: '#2d2b84',
    950: '#000000',
  },
}
SCSS
$custom: #2d2b84;
$custom-light: #7165a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2b84",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 132
  },
  "hsl": {
    "h": 241.348,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35304,
    "c": 0.14441,
    "h": 277
  },
  "luminance": 0.03952
}

Semantic roles & 50–950 ramp

primary
#2D2B84
secondary
#AFB15A
accent
#DA4DD7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2D2B84

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

Preview Lab → · Contrast checker → · Palette generator →

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