#2D2484#2D2484

#2D2484 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.1% C 0.153 H 278.7°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#2D2484
RGBrgb(45, 36, 132)
HSLhsl(246, 57%, 33%)
HSVhsv(246, 73%, 52%)
CMYKcmyk(65.9%, 72.7%, 0%, 48.2%)
CIE-LABlab(21.89, 34.39, -52.36)
CIE-LCHlch(21.89, 62.65, 303.30°)
OKLaboklab(34.14% 0.0232 -0.1511)
OKLCHoklch(34.14% 0.153 278.7)
XYZxyz(5.8766, 3.4851, 22.1883)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2484 #7B8424
analogous
#244B84 #2D2484 #5D2484
triadic
#2D2484 #842D24 #24842D
tetradic
#2D2484 #84244B #7B8424 #24845D
square
#2D2484 #84244B #7B8424 #24845D
split-complementary
#2D2484 #845D24 #4B8424
monochromatic
#0C0A24 #1D1754 #2D2484 #3D31B4 #5E52D0

Accessibility & contrast

On white

12.37
#2D2484 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2D2484 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2484
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2484#FFFFFF#000000##FFFFFF
##2D24841.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003887
Deuteranopia (green-blind)
#003182
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2d2484;
/* rgb */ color: rgb(45, 36, 132);
/* oklch */ color: oklch(34.1% 0.153 278.7);
Tailwind
colors: {
  custom: {
    50: '#7260a9',
    500: '#2d2484',
    950: '#000000',
  },
}
SCSS
$custom: #2d2484;
$custom-light: #7260a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2484",
  "rgb": {
    "r": 45,
    "g": 36,
    "b": 132
  },
  "hsl": {
    "h": 245.625,
    "s": 57.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34137,
    "c": 0.15288,
    "h": 278.7
  },
  "luminance": 0.03486
}

Semantic roles & 50–950 ramp

primary
#2D2484
secondary
#ABB450
accent
#E047D2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2D2484

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

Preview Lab → · Contrast checker → · Palette generator →

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