#2D2684#2D2684

#2D2684 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.5% C 0.151 H 278.3°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#2D2684
RGBrgb(45, 38, 132)
HSLhsl(244, 55%, 33%)
HSVhsv(244, 71%, 52%)
CMYKcmyk(65.9%, 71.2%, 0%, 48.2%)
CIE-LABlab(22.34, 33.16, -51.63)
CIE-LCHlch(22.34, 61.37, 302.71°)
OKLaboklab(34.46% 0.0217 -0.149)
OKLCHoklch(34.46% 0.151 278.3)
XYZxyz(5.9388, 3.6096, 22.2091)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2684 #7D8426
analogous
#264E84 #2D2684 #5C2684
triadic
#2D2684 #842D26 #26842D
tetradic
#2D2684 #84264E #7D8426 #26845C
square
#2D2684 #84264E #7D8426 #26845C
split-complementary
#2D2684 #845C26 #4E8426
monochromatic
#0D0B25 #1D1854 #2D2684 #3D34B4 #5F56CE

Accessibility & contrast

On white

12.20
#2D2684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2D2684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2684
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2684#FFFFFF#000000##FFFFFF
##2D26841.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003987
Deuteranopia (green-blind)
#003282
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2d2684;
/* rgb */ color: rgb(45, 38, 132);
/* oklch */ color: oklch(34.5% 0.151 278.3);
Tailwind
colors: {
  custom: {
    50: '#7261a9',
    500: '#2d2684',
    950: '#000000',
  },
}
SCSS
$custom: #2d2684;
$custom-light: #7261a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2684",
  "rgb": {
    "r": 45,
    "g": 38,
    "b": 132
  },
  "hsl": {
    "h": 244.468,
    "s": 55.294,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34457,
    "c": 0.15054,
    "h": 278.3
  },
  "luminance": 0.0361
}

Semantic roles & 50–950 ramp

primary
#2D2684
secondary
#ACB353
accent
#DF49D3
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2D2684

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

Preview Lab → · Contrast checker → · Palette generator →

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