#2D2C80#2D2C80

#2D2C80 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.1% C 0.138 H 277.2°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#2D2C80
RGBrgb(45, 44, 128)
HSLhsl(241, 49%, 34%)
HSVhsv(241, 66%, 50%)
CMYKcmyk(64.8%, 65.6%, 0%, 49.8%)
CIE-LABlab(23.40, 27.92, -47.38)
CIE-LCHlch(23.40, 54.99, 300.51°)
OKLaboklab(35.11% 0.0171 -0.1365)
OKLCHoklch(35.11% 0.138 277.2)
XYZxyz(5.8779, 3.9173, 20.8643)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2C80 #7F802C
analogous
#2C5580 #2D2C80 #572C80
triadic
#2D2C80 #802D2C #2C802D
tetradic
#2D2C80 #802C55 #7F802C #2C8057
square
#2D2C80 #802C55 #7F802C #2C8057
split-complementary
#2D2C80 #80572C #55802C
monochromatic
#0D0D25 #1D1C52 #2D2C80 #3D3CAE #605FC8

Accessibility & contrast

On white

11.77
#2D2C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2D2C80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2C80
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2C80#FFFFFF#000000##FFFFFF
##2D2C801.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#00347E
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2d2c80;
/* rgb */ color: rgb(45, 44, 128);
/* oklch */ color: oklch(35.1% 0.138 277.2);
Tailwind
colors: {
  custom: {
    50: '#7065a6',
    500: '#2d2c80',
    950: '#000000',
  },
}
SCSS
$custom: #2d2c80;
$custom-light: #7065a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2c80",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 128
  },
  "hsl": {
    "h": 240.714,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35111,
    "c": 0.13755,
    "h": 277.2
  },
  "luminance": 0.03918
}

Semantic roles & 50–950 ramp

primary
#2D2C80
secondary
#ADAE5A
accent
#D84FD7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F

Preview Lab

Preview with #2D2C80

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

Preview Lab → · Contrast checker → · Palette generator →

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