#2A2984#2A2984

#2A2984 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.7% C 0.148 H 276.0°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#2A2984
RGBrgb(42, 41, 132)
HSLhsl(241, 53%, 34%)
HSVhsv(241, 69%, 52%)
CMYKcmyk(68.2%, 68.9%, 0%, 48.2%)
CIE-LABlab(22.80, 30.84, -50.87)
CIE-LCHlch(22.80, 59.49, 301.22°)
OKLaboklab(34.74% 0.0153 -0.1468)
OKLCHoklch(34.74% 0.148 276)
XYZxyz(5.9113, 3.7435, 22.2364)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2984 #838429
analogous
#295684 #2A2984 #582984
triadic
#2A2984 #842A29 #29842A
tetradic
#2A2984 #842956 #838429 #298458
square
#2A2984 #842956 #838429 #298458
split-complementary
#2A2984 #845829 #568429
monochromatic
#0C0C27 #1B1A55 #2A2984 #3938B3 #5D5BCC

Accessibility & contrast

On white

12.01
#2A2984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2A2984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2984
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2984#FFFFFF#000000##FFFFFF
##2A29841.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A87
Deuteranopia (green-blind)
#003282
Tritanopia (blue-blind)
#004153
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2a2984;
/* rgb */ color: rgb(42, 41, 132);
/* oklch */ color: oklch(34.7% 0.148 276.0);
Tailwind
colors: {
  custom: {
    50: '#7063a9',
    500: '#2a2984',
    950: '#000000',
  },
}
SCSS
$custom: #2a2984;
$custom-light: #7063a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2984",
  "rgb": {
    "r": 42,
    "g": 41,
    "b": 132
  },
  "hsl": {
    "h": 240.659,
    "s": 52.601,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34735,
    "c": 0.14763,
    "h": 276
  },
  "luminance": 0.03744
}

Semantic roles & 50–950 ramp

primary
#2A2984
secondary
#B1B257
accent
#DC4CDA
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #2A2984

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

Preview Lab → · Contrast checker → · Palette generator →

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