#2D2C76#2D2C76

#2D2C76 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.2% C 0.123 H 278.3°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#2D2C76
RGBrgb(45, 44, 118)
HSLhsl(241, 46%, 32%)
HSVhsv(241, 63%, 46%)
CMYKcmyk(61.9%, 62.7%, 0%, 53.7%)
CIE-LABlab(22.54, 24.33, -42.43)
CIE-LCHlch(22.54, 48.91, 299.83°)
OKLaboklab(34.21% 0.0177 -0.1219)
OKLCHoklch(34.21% 0.123 278.3)
XYZxyz(5.2518, 3.6669, 17.5671)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2C76 #75762C
analogous
#2C5076 #2D2C76 #522C76
triadic
#2D2C76 #762D2C #2C762D
tetradic
#2D2C76 #762C50 #75762C #2C7652
square
#2D2C76 #762C50 #75762C #2C7652
split-complementary
#2D2C76 #76522C #50762C
monochromatic
#0B0B1D #1C1B49 #2D2C76 #3E3DA3 #5C5BC2

Accessibility & contrast

On white

12.11
#2D2C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2D2C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2C76
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2C76#FFFFFF#000000##FFFFFF
##2D2C761.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003978
Deuteranopia (green-blind)
#003375
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2d2c76;
/* rgb */ color: rgb(45, 44, 118);
/* oklch */ color: oklch(34.2% 0.123 278.3);
Tailwind
colors: {
  custom: {
    50: '#6e659e',
    500: '#2d2c76',
    950: '#000000',
  },
}
SCSS
$custom: #2d2c76;
$custom-light: #6e659e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2c76",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 118
  },
  "hsl": {
    "h": 240.811,
    "s": 45.679,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34213,
    "c": 0.12323,
    "h": 278.3
  },
  "luminance": 0.03667
}

Semantic roles & 50–950 ramp

primary
#2D2C76
secondary
#A6A756
accent
#D552D4
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #2D2C76

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

Preview Lab → · Contrast checker → · Palette generator →

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