#2D2376#2D2376

#2D2376 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.6% C 0.135 H 281.3°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#2D2376
RGBrgb(45, 35, 118)
HSLhsl(247, 54%, 30%)
HSVhsv(247, 70%, 46%)
CMYKcmyk(61.9%, 70.3%, 0%, 53.7%)
CIE-LABlab(20.31, 30.23, -46.06)
CIE-LCHlch(20.31, 55.10, 303.27°)
OKLaboklab(32.59% 0.0265 -0.1326)
OKLCHoklch(32.59% 0.135 281.3)
XYZxyz(4.9522, 3.0676, 17.4672)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2376 #6C7623
analogous
#234276 #2D2376 #572376
triadic
#2D2376 #762D23 #23762D
tetradic
#2D2376 #762342 #6C7623 #237657
square
#2D2376 #762342 #6C7623 #237657
split-complementary
#2D2376 #765723 #427623
monochromatic
#090718 #1B1547 #2D2376 #3F31A5 #594AC9

Accessibility & contrast

On white

13.01
#2D2376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2D2376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2376
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2376#FFFFFF#000000##FFFFFF
##2D23761.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003479
Deuteranopia (green-blind)
#002E74
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2d2376;
/* rgb */ color: rgb(45, 35, 118);
/* oklch */ color: oklch(32.6% 0.135 281.3);
Tailwind
colors: {
  custom: {
    50: '#6f5f9e',
    500: '#2d2376',
    950: '#000000',
  },
}
SCSS
$custom: #2d2376;
$custom-light: #6f5f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2376",
  "rgb": {
    "r": 45,
    "g": 35,
    "b": 118
  },
  "hsl": {
    "h": 247.229,
    "s": 54.248,
    "l": 30
  },
  "oklch": {
    "l": 0.32591,
    "c": 0.13526,
    "h": 281.3
  },
  "luminance": 0.03068
}

Semantic roles & 50–950 ramp

primary
#2D2376
secondary
#9EA94C
accent
#DE4ACC
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #2D2376

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

Preview Lab → · Contrast checker → · Palette generator →

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