#2D2C5C#2D2C5C

#2D2C5C is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.1% C 0.083 H 281.6°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#2D2C5C
RGBrgb(45, 44, 92)
HSLhsl(241, 35%, 27%)
HSVhsv(241, 52%, 36%)
CMYKcmyk(51.1%, 52.2%, 0%, 63.9%)
CIE-LABlab(20.56, 15.06, -28.74)
CIE-LCHlch(20.56, 32.44, 297.66°)
OKLaboklab(32.11% 0.0167 -0.0817)
OKLCHoklch(32.11% 0.083 281.6)
XYZxyz(3.9141, 3.1318, 10.5214)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2C5C #5B5C2C
analogous
#2C435C #2D2C5C #452C5C
triadic
#2D2C5C #5C2D2C #2C5C2D
tetradic
#2D2C5C #5C2C43 #5B5C2C #2C5C45
square
#2D2C5C #5C2C43 #5B5C2C #2C5C45
split-complementary
#2D2C5C #5C452C #435C2C
monochromatic
#0A0A15 #191833 #2D2C5C #414085 #5755AE

Accessibility & contrast

On white

12.91
#2D2C5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2D2C5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2C5C
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2C5C#FFFFFF#000000##FFFFFF
##2D2C5C1.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17335E
Deuteranopia (green-blind)
#14305B
Tritanopia (blue-blind)
#1C363F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2d2c5c;
/* rgb */ color: rgb(45, 44, 92);
/* oklch */ color: oklch(32.1% 0.083 281.6);
Tailwind
colors: {
  custom: {
    50: '#69658a',
    500: '#2d2c5c',
    950: '#000000',
  },
}
SCSS
$custom: #2d2c5c;
$custom-light: #69658a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2c5c",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 92
  },
  "hsl": {
    "h": 241.25,
    "s": 35.294,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32114,
    "c": 0.08336,
    "h": 281.6
  },
  "luminance": 0.03132
}

Semantic roles & 50–950 ramp

primary
#2D2C5C
secondary
#8D8E56
accent
#CB5CC9
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07050C
muted
#7A7A7D

Preview Lab

Preview with #2D2C5C

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

Preview Lab → · Contrast checker → · Palette generator →

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