#2C2984#2C2984

#2C2984 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.9% C 0.147 H 277.0°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#2C2984
RGBrgb(44, 41, 132)
HSLhsl(242, 53%, 34%)
HSVhsv(242, 69%, 52%)
CMYKcmyk(66.7%, 68.9%, 0%, 48.2%)
CIE-LABlab(22.95, 31.13, -50.62)
CIE-LCHlch(22.95, 59.43, 301.59°)
OKLaboklab(34.88% 0.018 -0.146)
OKLCHoklch(34.88% 0.147 277)
XYZxyz(5.9951, 3.7868, 22.2403)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2984 #818429
analogous
#295484 #2C2984 #5A2984
triadic
#2C2984 #842C29 #29842C
tetradic
#2C2984 #842954 #818429 #29845A
square
#2C2984 #842954 #818429 #29845A
split-complementary
#2C2984 #845A29 #548429
monochromatic
#0D0C27 #1C1A55 #2C2984 #3C38B3 #5F5BCC

Accessibility & contrast

On white

11.95
#2C2984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2C2984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2984
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2984#FFFFFF#000000##FFFFFF
##2C29841.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B87
Deuteranopia (green-blind)
#003382
Tritanopia (blue-blind)
#004153
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2c2984;
/* rgb */ color: rgb(44, 41, 132);
/* oklch */ color: oklch(34.9% 0.147 277.0);
Tailwind
colors: {
  custom: {
    50: '#7163a9',
    500: '#2c2984',
    950: '#000000',
  },
}
SCSS
$custom: #2c2984;
$custom-light: #7163a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2984",
  "rgb": {
    "r": 44,
    "g": 41,
    "b": 132
  },
  "hsl": {
    "h": 241.978,
    "s": 52.601,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34882,
    "c": 0.14714,
    "h": 277
  },
  "luminance": 0.03787
}

Semantic roles & 50–950 ramp

primary
#2C2984
secondary
#AFB257
accent
#DC4CD7
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2C2984

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

Preview Lab → · Contrast checker → · Palette generator →

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