#2D2C9C#2D2C9C

#2D2C9C is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.175 H 274.5°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#2D2C9C
RGBrgb(45, 44, 156)
HSLhsl(241, 56%, 39%)
HSVhsv(241, 72%, 61%)
CMYKcmyk(71.2%, 71.8%, 0%, 38.8%)
CIE-LABlab(26.04, 37.76, -60.42)
CIE-LCHlch(26.04, 71.25, 302.01°)
OKLaboklab(37.83% 0.0137 -0.1746)
OKLCHoklch(37.83% 0.175 274.5)
XYZxyz(7.9816, 4.7588, 31.9439)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2C9C #9B9C2C
analogous
#2C639C #2D2C9C #652C9C
triadic
#2D2C9C #9C2D2C #2C9C2D
tetradic
#2D2C9C #9C2C63 #9B9C2C #2C9C65
square
#2D2C9C #9C2C63 #9B9C2C #2C9C65
split-complementary
#2D2C9C #9C652C #639C2C
monochromatic
#11113D #1F1F6C #2D2C9C #3E3DC8 #6E6DD6

Accessibility & contrast

On white

10.76
#2D2C9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2D2C9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2C9C
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2C9C#FFFFFF#000000##FFFFFF
##2D2C9C1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#00389A
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d2c9c;
/* rgb */ color: rgb(45, 44, 156);
/* oklch */ color: oklch(37.8% 0.175 274.5);
Tailwind
colors: {
  custom: {
    50: '#7766ba',
    500: '#2d2c9c',
    950: '#000000',
  },
}
SCSS
$custom: #2d2c9c;
$custom-light: #7766ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2c9c",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 156
  },
  "hsl": {
    "h": 240.536,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37829,
    "c": 0.17518,
    "h": 274.5
  },
  "luminance": 0.0476
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D2C9C

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

Preview Lab → · Contrast checker → · Palette generator →

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