#2D2C87#2D2C87

#2D2C87 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.147 H 276.4°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#2D2C87
RGBrgb(45, 44, 135)
HSLhsl(241, 51%, 35%)
HSVhsv(241, 67%, 53%)
CMYKcmyk(66.7%, 67.4%, 0%, 47.1%)
CIE-LABlab(24.03, 30.41, -50.75)
CIE-LCHlch(24.03, 59.16, 300.93°)
OKLaboklab(35.76% 0.0165 -0.1464)
OKLCHoklch(35.76% 0.147 276.4)
XYZxyz(6.3546, 4.1080, 23.3750)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2C87 #86872C
analogous
#2C5987 #2D2C87 #5A2C87
triadic
#2D2C87 #872D2C #2C872D
tetradic
#2D2C87 #872C59 #86872C #2C875A
square
#2D2C87 #872C59 #86872C #2C875A
split-complementary
#2D2C87 #875A2C #59872C
monochromatic
#0E0E2B #1E1D59 #2D2C87 #3C3BB5 #6362CC

Accessibility & contrast

On white

11.53
#2D2C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2D2C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2C87
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2C87#FFFFFF#000000##FFFFFF
##2D2C871.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8A
Deuteranopia (green-blind)
#003585
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d2c87;
/* rgb */ color: rgb(45, 44, 135);
/* oklch */ color: oklch(35.8% 0.147 276.4);
Tailwind
colors: {
  custom: {
    50: '#7265ab',
    500: '#2d2c87',
    950: '#000000',
  },
}
SCSS
$custom: #2d2c87;
$custom-light: #7265ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2c87",
  "rgb": {
    "r": 45,
    "g": 44,
    "b": 135
  },
  "hsl": {
    "h": 240.659,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35764,
    "c": 0.14729,
    "h": 276.4
  },
  "luminance": 0.04109
}

Semantic roles & 50–950 ramp

primary
#2D2C87
secondary
#B1B25D
accent
#DA4DD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2D2C87

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

Preview Lab → · Contrast checker → · Palette generator →

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