#2D2C72#2D2C72

#2D2C72 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.9% C 0.117 H 278.7°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#2D2C72
RGBrgb(45, 44, 114)
HSLhsl(241, 44%, 31%)
HSVhsv(241, 61%, 45%)
CMYKcmyk(60.5%, 61.4%, 0%, 55.3%)
CIE-LABlab(22.21, 22.89, -40.41)
CIE-LCHlch(22.21, 46.44, 299.53°)
OKLaboklab(33.87% 0.0178 -0.116)
OKLCHoklch(33.87% 0.117 278.7)
XYZxyz(5.0192, 3.5738, 16.3417)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2C72 #71722C
analogous
#2C4E72 #2D2C72 #502C72
triadic
#2D2C72 #722D2C #2C722D
tetradic
#2D2C72 #722C4E #71722C #2C7250
square
#2D2C72 #722C4E #71722C #2C7250
split-complementary
#2D2C72 #72502C #4E722C
monochromatic
#0A0A1A #1C1B46 #2D2C72 #3E3D9E #5B59BF

Accessibility & contrast

On white

12.25
#2D2C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2D2C72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2C72
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2C72#FFFFFF#000000##FFFFFF
##2D2C721.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003874
Deuteranopia (green-blind)
#003271
Tritanopia (blue-blind)
#033D4A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2d2c72;
/* rgb */ color: rgb(45, 44, 114);
/* oklch */ color: oklch(33.9% 0.117 278.7);
Tailwind
colors: {
  custom: {
    50: '#6d659b',
    500: '#2d2c72',
    950: '#000000',
  },
}
SCSS
$custom: #2d2c72;
$custom-light: #6d659b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2c72",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 114
  },
  "hsl": {
    "h": 240.857,
    "s": 44.304,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33867,
    "c": 0.11736,
    "h": 278.7
  },
  "luminance": 0.03574
}

Semantic roles & 50–950 ramp

primary
#2D2C72
secondary
#A3A456
accent
#D454D2
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #2D2C72

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

Preview Lab → · Contrast checker → · Palette generator →

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