#2D2476#2D2476

#2D2476 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.134 H 281.0°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#2D2476
RGBrgb(45, 36, 118)
HSLhsl(247, 53%, 30%)
HSVhsv(247, 69%, 46%)
CMYKcmyk(61.9%, 69.5%, 0%, 53.7%)
CIE-LABlab(20.55, 29.59, -45.68)
CIE-LCHlch(20.55, 54.43, 302.94°)
OKLaboklab(32.76% 0.0255 -0.1315)
OKLCHoklch(32.76% 0.134 281)
XYZxyz(4.9821, 3.1273, 17.4771)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2476 #6D7624
analogous
#244476 #2D2476 #562476
triadic
#2D2476 #762D24 #24762D
tetradic
#2D2476 #762444 #6D7624 #247656
square
#2D2476 #762444 #6D7624 #247656
split-complementary
#2D2476 #765624 #447624
monochromatic
#090718 #1B1647 #2D2476 #3F32A5 #5A4CC8

Accessibility & contrast

On white

12.92
#2D2476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2D2476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2476
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2476#FFFFFF#000000##FFFFFF
##2D24761.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.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: #2d2476;
/* rgb */ color: rgb(45, 36, 118);
/* oklch */ color: oklch(32.8% 0.134 281.0);
Tailwind
colors: {
  custom: {
    50: '#6f5f9e',
    500: '#2d2476',
    950: '#000000',
  },
}
SCSS
$custom: #2d2476;
$custom-light: #6f5f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2476",
  "rgb": {
    "r": 45,
    "g": 36,
    "b": 118
  },
  "hsl": {
    "h": 246.585,
    "s": 53.247,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3276,
    "c": 0.13398,
    "h": 281
  },
  "luminance": 0.03128
}

Semantic roles & 50–950 ramp

primary
#2D2476
secondary
#9FA94D
accent
#DD4BCD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #2D2476

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

Preview Lab → · Contrast checker → · Palette generator →

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