#2D2C83#2D2C83

#2D2C83 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.142 H 276.8°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#2D2C83
RGBrgb(45, 44, 131)
HSLhsl(241, 50%, 34%)
HSVhsv(241, 66%, 51%)
CMYKcmyk(65.6%, 66.4%, 0%, 48.6%)
CIE-LABlab(23.66, 28.99, -48.83)
CIE-LCHlch(23.66, 56.79, 300.69°)
OKLaboklab(35.39% 0.0169 -0.1407)
OKLCHoklch(35.39% 0.142 276.8)
XYZxyz(6.0783, 3.9974, 21.9196)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2C83 #82832C
analogous
#2C5783 #2D2C83 #592C83
triadic
#2D2C83 #832D2C #2C832D
tetradic
#2D2C83 #832C57 #82832C #2C8359
square
#2D2C83 #832C57 #82832C #2C8359
split-complementary
#2D2C83 #83592C #57832C
monochromatic
#0E0D27 #1D1D55 #2D2C83 #3D3BB1 #6160CA

Accessibility & contrast

On white

11.67
#2D2C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2D2C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2C83
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2C83#FFFFFF#000000##FFFFFF
##2D2C831.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#003581
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2d2c83;
/* rgb */ color: rgb(45, 44, 131);
/* oklch */ color: oklch(35.4% 0.142 276.8);
Tailwind
colors: {
  custom: {
    50: '#7165a8',
    500: '#2d2c83',
    950: '#000000',
  },
}
SCSS
$custom: #2d2c83;
$custom-light: #7165a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2c83",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 131
  },
  "hsl": {
    "h": 240.69,
    "s": 49.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35388,
    "c": 0.14176,
    "h": 276.8
  },
  "luminance": 0.03998
}

Semantic roles & 50–950 ramp

primary
#2D2C83
secondary
#AFB05B
accent
#D94FD8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #2D2C83

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

Preview Lab → · Contrast checker → · Palette generator →

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