#2D2984#2D2984

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

Color values

HEX#2D2984
RGBrgb(45, 41, 132)
HSLhsl(243, 53%, 34%)
HSVhsv(243, 69%, 52%)
CMYKcmyk(65.9%, 68.9%, 0%, 48.2%)
CIE-LABlab(23.03, 31.28, -50.49)
CIE-LCHlch(23.03, 59.40, 301.78°)
OKLaboklab(34.96% 0.0193 -0.1456)
OKLCHoklch(34.96% 0.147 277.5)
XYZxyz(6.0386, 3.8092, 22.2424)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2984 #808429
analogous
#295384 #2D2984 #5B2984
triadic
#2D2984 #842D29 #29842D
tetradic
#2D2984 #842953 #808429 #29845B
square
#2D2984 #842953 #808429 #29845B
split-complementary
#2D2984 #845B29 #538429
monochromatic
#0D0C27 #1D1A55 #2D2984 #3D38B3 #605BCC

Accessibility & contrast

On white

11.92
#2D2984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2984
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2984#FFFFFF#000000##FFFFFF
##2D29841.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.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: #2d2984;
/* rgb */ color: rgb(45, 41, 132);
/* oklch */ color: oklch(35.0% 0.147 277.5);
Tailwind
colors: {
  custom: {
    50: '#7163a9',
    500: '#2d2984',
    950: '#000000',
  },
}
SCSS
$custom: #2d2984;
$custom-light: #7163a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2984",
  "rgb": {
    "r": 45,
    "g": 41,
    "b": 132
  },
  "hsl": {
    "h": 242.637,
    "s": 52.601,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34957,
    "c": 0.1469,
    "h": 277.5
  },
  "luminance": 0.0381
}

Semantic roles & 50–950 ramp

primary
#2D2984
secondary
#AEB257
accent
#DC4CD6
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2D2984

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

Preview Lab → · Contrast checker → · Palette generator →

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