#2D2C79#2D2C79

#2D2C79 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.5% C 0.128 H 277.9°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#2D2C79
RGBrgb(45, 44, 121)
HSLhsl(241, 47%, 32%)
HSVhsv(241, 64%, 47%)
CMYKcmyk(62.8%, 63.6%, 0%, 52.5%)
CIE-LABlab(22.79, 25.41, -43.94)
CIE-LCHlch(22.79, 50.75, 300.04°)
OKLaboklab(34.48% 0.0176 -0.1264)
OKLCHoklch(34.48% 0.128 277.9)
XYZxyz(5.4330, 3.7393, 18.5209)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2C79 #78792C
analogous
#2C5279 #2D2C79 #532C79
triadic
#2D2C79 #792D2C #2C792D
tetradic
#2D2C79 #792C52 #78792C #2C7953
square
#2D2C79 #792C52 #78792C #2C7953
split-complementary
#2D2C79 #79532C #52792C
monochromatic
#0C0B1F #1C1C4C #2D2C79 #3E3CA6 #5D5CC4

Accessibility & contrast

On white

12.01
#2D2C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2D2C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2C79
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2C79#FFFFFF#000000##FFFFFF
##2D2C791.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7C
Deuteranopia (green-blind)
#003377
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2d2c79;
/* rgb */ color: rgb(45, 44, 121);
/* oklch */ color: oklch(34.5% 0.128 277.9);
Tailwind
colors: {
  custom: {
    50: '#6f65a0',
    500: '#2d2c79',
    950: '#000000',
  },
}
SCSS
$custom: #2d2c79;
$custom-light: #6f65a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2c79",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 121
  },
  "hsl": {
    "h": 240.779,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34478,
    "c": 0.12759,
    "h": 277.9
  },
  "luminance": 0.0374
}

Semantic roles & 50–950 ramp

primary
#2D2C79
secondary
#A9AA57
accent
#D651D5
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050F
muted
#7B7A7E

Preview Lab

Preview with #2D2C79

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

Preview Lab → · Contrast checker → · Palette generator →

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