#2D2C9A#2D2C9A

#2D2C9A is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.173 H 274.6°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#2D2C9A
RGBrgb(45, 44, 154)
HSLhsl(241, 56%, 39%)
HSVhsv(241, 71%, 60%)
CMYKcmyk(70.8%, 71.4%, 0%, 39.6%)
CIE-LABlab(25.84, 37.07, -59.52)
CIE-LCHlch(25.84, 70.12, 301.92°)
OKLaboklab(37.63% 0.014 -0.172)
OKLCHoklch(37.63% 0.173 274.6)
XYZxyz(7.8137, 4.6916, 31.0594)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2C9A #999A2C
analogous
#2C629A #2D2C9A #642C9A
triadic
#2D2C9A #9A2D2C #2C9A2D
tetradic
#2D2C9A #9A2C62 #999A2C #2C9A64
square
#2D2C9A #9A2C62 #999A2C #2C9A64
split-complementary
#2D2C9A #9A642C #629A2C
monochromatic
#11113B #1F1E6A #2D2C9A #3D3CC7 #6C6CD5

Accessibility & contrast

On white

10.83
#2D2C9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2D2C9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2C9A
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2C9A#FFFFFF#000000##FFFFFF
##2D2C9A1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429D
Deuteranopia (green-blind)
#003898
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d2c9a;
/* rgb */ color: rgb(45, 44, 154);
/* oklch */ color: oklch(37.6% 0.173 274.6);
Tailwind
colors: {
  custom: {
    50: '#7666b9',
    500: '#2d2c9a',
    950: '#000000',
  },
}
SCSS
$custom: #2d2c9a;
$custom-light: #7666b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2c9a",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 154
  },
  "hsl": {
    "h": 240.545,
    "s": 55.556,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37626,
    "c": 0.17261,
    "h": 274.6
  },
  "luminance": 0.04692
}

Semantic roles & 50–950 ramp

primary
#2D2C9A
secondary
#BBBC66
accent
#DF49DE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2D2C9A

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

Preview Lab → · Contrast checker → · Palette generator →

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