#2D2C9D#2D2C9D

#2D2C9D is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.176 H 274.4°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#2D2C9D
RGBrgb(45, 44, 157)
HSLhsl(241, 56%, 39%)
HSVhsv(241, 72%, 62%)
CMYKcmyk(71.3%, 72%, 0%, 38.4%)
CIE-LABlab(26.14, 38.11, -60.86)
CIE-LCHlch(26.14, 71.81, 302.05°)
OKLaboklab(37.93% 0.0135 -0.176)
OKLCHoklch(37.93% 0.176 274.4)
XYZxyz(8.0667, 4.7928, 32.3917)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2C9D #9C9D2C
analogous
#2C649D #2D2C9D #662C9D
triadic
#2D2C9D #9D2D2C #2C9D2D
tetradic
#2D2C9D #9D2C64 #9C9D2C #2C9D66
square
#2D2C9D #9D2C64 #9C9D2C #2C9D66
split-complementary
#2D2C9D #9D662C #649D2C
monochromatic
#12113D #1F1F6D #2D2C9D #3F3DC9 #6E6DD6

Accessibility & contrast

On white

10.72
#2D2C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2D2C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2C9D
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2C9D#FFFFFF#000000##FFFFFF
##2D2C9D1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#00399B
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d2c9d;
/* rgb */ color: rgb(45, 44, 157);
/* oklch */ color: oklch(37.9% 0.176 274.4);
Tailwind
colors: {
  custom: {
    50: '#7766bb',
    500: '#2d2c9d',
    950: '#000000',
  },
}
SCSS
$custom: #2d2c9d;
$custom-light: #7766bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2c9d",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 157
  },
  "hsl": {
    "h": 240.531,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37931,
    "c": 0.17648,
    "h": 274.4
  },
  "luminance": 0.04794
}

Semantic roles & 50–950 ramp

primary
#2D2C9D
secondary
#BCBD68
accent
#E048DE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2D2C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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