#2D2C82#2D2C82

#2D2C82 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.140 H 276.9°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#2D2C82
RGBrgb(45, 44, 130)
HSLhsl(241, 49%, 34%)
HSVhsv(241, 66%, 51%)
CMYKcmyk(65.4%, 66.2%, 0%, 49%)
CIE-LABlab(23.57, 28.63, -48.35)
CIE-LCHlch(23.57, 56.19, 300.63°)
OKLaboklab(35.3% 0.017 -0.1393)
OKLCHoklch(35.3% 0.14 276.9)
XYZxyz(6.0108, 3.9705, 21.5644)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2C82 #81822C
analogous
#2C5682 #2D2C82 #582C82
triadic
#2D2C82 #822D2C #2C822D
tetradic
#2D2C82 #822C56 #81822C #2C8258
square
#2D2C82 #822C56 #81822C #2C8258
split-complementary
#2D2C82 #82582C #56822C
monochromatic
#0D0D27 #1D1D54 #2D2C82 #3D3BB0 #615FC9

Accessibility & contrast

On white

11.70
#2D2C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2D2C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2C82
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2C82#FFFFFF#000000##FFFFFF
##2D2C821.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C85
Deuteranopia (green-blind)
#003480
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2d2c82;
/* rgb */ color: rgb(45, 44, 130);
/* oklch */ color: oklch(35.3% 0.140 276.9);
Tailwind
colors: {
  custom: {
    50: '#7165a7',
    500: '#2d2c82',
    950: '#000000',
  },
}
SCSS
$custom: #2d2c82;
$custom-light: #7165a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2c82",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 130
  },
  "hsl": {
    "h": 240.698,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35295,
    "c": 0.14036,
    "h": 276.9
  },
  "luminance": 0.03971
}

Semantic roles & 50–950 ramp

primary
#2D2C82
secondary
#AEAF5B
accent
#D94FD7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #2D2C82

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

Preview Lab → · Contrast checker → · Palette generator →

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