#2A2484#2A2484

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

Color values

HEX#2A2484
RGBrgb(42, 36, 132)
HSLhsl(244, 57%, 33%)
HSVhsv(244, 73%, 52%)
CMYKcmyk(68.2%, 72.7%, 0%, 48.2%)
CIE-LABlab(21.65, 33.98, -52.77)
CIE-LCHlch(21.65, 62.76, 302.78°)
OKLaboklab(33.91% 0.0191 -0.1524)
OKLCHoklch(33.91% 0.154 277.1)
XYZxyz(5.7492, 3.4194, 22.1824)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2484 #7E8424
analogous
#244E84 #2A2484 #5A2484
triadic
#2A2484 #842A24 #24842A
tetradic
#2A2484 #84244E #7E8424 #24845A
square
#2A2484 #84244E #7E8424 #24845A
split-complementary
#2A2484 #845A24 #4E8424
monochromatic
#0B0A24 #1B1754 #2A2484 #3931B4 #5A52D0

Accessibility & contrast

On white

12.47
#2A2484 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2A2484 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2484
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2484#FFFFFF#000000##FFFFFF
##2A24841.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a2484;
/* rgb */ color: rgb(42, 36, 132);
/* oklch */ color: oklch(33.9% 0.154 277.1);
Tailwind
colors: {
  custom: {
    50: '#7160a9',
    500: '#2a2484',
    950: '#000000',
  },
}
SCSS
$custom: #2a2484;
$custom-light: #7160a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2484",
  "rgb": {
    "r": 42,
    "g": 36,
    "b": 132
  },
  "hsl": {
    "h": 243.75,
    "s": 57.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33905,
    "c": 0.15356,
    "h": 277.1
  },
  "luminance": 0.0342
}

Semantic roles & 50–950 ramp

primary
#2A2484
secondary
#AEB450
accent
#E047D7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2A2484

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

Preview Lab → · Contrast checker → · Palette generator →

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