#2A2384#2A2384

#2A2384 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.7% C 0.155 H 277.3°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#2A2384
RGBrgb(42, 35, 132)
HSLhsl(244, 58%, 33%)
HSVhsv(244, 73%, 52%)
CMYKcmyk(68.2%, 73.5%, 0%, 48.2%)
CIE-LABlab(21.43, 34.59, -53.13)
CIE-LCHlch(21.43, 63.40, 303.07°)
OKLaboklab(33.75% 0.0198 -0.1534)
OKLCHoklch(33.75% 0.155 277.3)
XYZxyz(5.7194, 3.3598, 22.1724)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2384 #7D8423
analogous
#234C84 #2A2384 #5A2384
triadic
#2A2384 #842A23 #23842A
tetradic
#2A2384 #84234C #7D8423 #23845A
square
#2A2384 #84234C #7D8423 #23845A
split-complementary
#2A2384 #845A23 #4C8423
monochromatic
#0B0923 #1B1654 #2A2384 #3930B4 #5A51D1

Accessibility & contrast

On white

12.56
#2A2384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2A2384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2384
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2384#FFFFFF#000000##FFFFFF
##2A23841.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003787
Deuteranopia (green-blind)
#002F82
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2a2384;
/* rgb */ color: rgb(42, 35, 132);
/* oklch */ color: oklch(33.7% 0.155 277.3);
Tailwind
colors: {
  custom: {
    50: '#715fa9',
    500: '#2a2384',
    950: '#000000',
  },
}
SCSS
$custom: #2a2384;
$custom-light: #715fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2384",
  "rgb": {
    "r": 42,
    "g": 35,
    "b": 132
  },
  "hsl": {
    "h": 244.33,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33747,
    "c": 0.15469,
    "h": 277.3
  },
  "luminance": 0.0336
}

Semantic roles & 50–950 ramp

primary
#2A2384
secondary
#ADB44E
accent
#E146D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2A2384

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

Preview Lab → · Contrast checker → · Palette generator →

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