#2D2473#2D2473

#2D2473 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.5% C 0.130 H 281.5°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#2D2473
RGBrgb(45, 36, 115)
HSLhsl(247, 52%, 30%)
HSVhsv(247, 69%, 45%)
CMYKcmyk(60.9%, 68.7%, 0%, 54.9%)
CIE-LABlab(20.27, 28.56, -44.21)
CIE-LCHlch(20.27, 52.63, 302.86°)
OKLaboklab(32.48% 0.0259 -0.1272)
OKLCHoklch(32.48% 0.13 281.5)
XYZxyz(4.8066, 3.0571, 16.5531)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2473 #6A7324
analogous
#244373 #2D2473 #542473
triadic
#2D2473 #732D24 #24732D
tetradic
#2D2473 #732443 #6A7324 #247354
square
#2D2473 #732443 #6A7324 #247354
split-complementary
#2D2473 #735424 #437324
monochromatic
#090717 #1B1544 #2D2473 #3F33A2 #594BC7

Accessibility & contrast

On white

13.03
#2D2473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2473
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2473#FFFFFF#000000##FFFFFF
##2D24731.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003475
Deuteranopia (green-blind)
#002E71
Tritanopia (blue-blind)
#033848
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2d2473;
/* rgb */ color: rgb(45, 36, 115);
/* oklch */ color: oklch(32.5% 0.130 281.5);
Tailwind
colors: {
  custom: {
    50: '#6e5f9c',
    500: '#2d2473',
    950: '#000000',
  },
}
SCSS
$custom: #2d2473;
$custom-light: #6e5f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2473",
  "rgb": {
    "r": 45,
    "g": 36,
    "b": 115
  },
  "hsl": {
    "h": 246.835,
    "s": 52.318,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32475,
    "c": 0.12982,
    "h": 281.5
  },
  "luminance": 0.03057
}

Semantic roles & 50–950 ramp

primary
#2D2473
secondary
#9CA64D
accent
#DC4CCB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #2D2473

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

Preview Lab → · Contrast checker → · Palette generator →

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