#2D2C60#2D2C60

#2D2C60 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.4% C 0.090 H 281.0°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#2D2C60
RGBrgb(45, 44, 96)
HSLhsl(241, 37%, 27%)
HSVhsv(241, 54%, 38%)
CMYKcmyk(53.1%, 54.2%, 0%, 62.4%)
CIE-LABlab(20.84, 16.46, -30.93)
CIE-LCHlch(20.84, 35.04, 298.03°)
OKLaboklab(32.41% 0.0172 -0.0881)
OKLCHoklch(32.41% 0.09 281)
XYZxyz(4.0935, 3.2036, 11.4667)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2C60 #5F602C
analogous
#2C4560 #2D2C60 #472C60
triadic
#2D2C60 #602D2C #2C602D
tetradic
#2D2C60 #602C45 #5F602C #2C6047
square
#2D2C60 #602C45 #5F602C #2C6047
split-complementary
#2D2C60 #60472C #45602C
monochromatic
#0A0A15 #191936 #2D2C60 #413F8A #5755B1

Accessibility & contrast

On white

12.80
#2D2C60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2D2C60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2C60
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2C60#FFFFFF#000000##FFFFFF
##2D2C601.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133462
Deuteranopia (green-blind)
#0F305F
Tritanopia (blue-blind)
#1A3741
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2d2c60;
/* rgb */ color: rgb(45, 44, 96);
/* oklch */ color: oklch(32.4% 0.090 281.0);
Tailwind
colors: {
  custom: {
    50: '#6a658d',
    500: '#2d2c60',
    950: '#000000',
  },
}
SCSS
$custom: #2d2c60;
$custom-light: #6a658d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2c60",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 96
  },
  "hsl": {
    "h": 241.154,
    "s": 37.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32412,
    "c": 0.08976,
    "h": 281
  },
  "luminance": 0.03204
}

Semantic roles & 50–950 ramp

primary
#2D2C60
secondary
#919256
accent
#CD5BCB
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07050C
muted
#7A7A7D

Preview Lab

Preview with #2D2C60

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

Preview Lab → · Contrast checker → · Palette generator →

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