#2D2C78#2D2C78

#2D2C78 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.126 H 278.0°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#2D2C78
RGBrgb(45, 44, 120)
HSLhsl(241, 46%, 32%)
HSVhsv(241, 63%, 47%)
CMYKcmyk(62.5%, 63.3%, 0%, 52.9%)
CIE-LABlab(22.71, 25.05, -43.44)
CIE-LCHlch(22.71, 50.14, 299.97°)
OKLaboklab(34.39% 0.0176 -0.1249)
OKLCHoklch(34.39% 0.126 278)
XYZxyz(5.3719, 3.7149, 18.1996)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2C78 #77782C
analogous
#2C5178 #2D2C78 #532C78
triadic
#2D2C78 #782D2C #2C782D
tetradic
#2D2C78 #782C51 #77782C #2C7853
square
#2D2C78 #782C51 #77782C #2C7853
split-complementary
#2D2C78 #78532C #51782C
monochromatic
#0B0B1E #1C1C4B #2D2C78 #3E3CA5 #5D5BC3

Accessibility & contrast

On white

12.05
#2D2C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2D2C78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2C78
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2C78#FFFFFF#000000##FFFFFF
##2D2C781.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397A
Deuteranopia (green-blind)
#003376
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2d2c78;
/* rgb */ color: rgb(45, 44, 120);
/* oklch */ color: oklch(34.4% 0.126 278.0);
Tailwind
colors: {
  custom: {
    50: '#6f65a0',
    500: '#2d2c78',
    950: '#000000',
  },
}
SCSS
$custom: #2d2c78;
$custom-light: #6f65a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2c78",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 120
  },
  "hsl": {
    "h": 240.789,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34389,
    "c": 0.12614,
    "h": 278
  },
  "luminance": 0.03715
}

Semantic roles & 50–950 ramp

primary
#2D2C78
secondary
#A8A957
accent
#D652D4
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08050F
muted
#7B7A7E

Preview Lab

Preview with #2D2C78

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

Preview Lab → · Contrast checker → · Palette generator →

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