#2D2573#2D2573

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

Color values

HEX#2D2573
RGBrgb(45, 37, 115)
HSLhsl(246, 51%, 30%)
HSVhsv(246, 68%, 45%)
CMYKcmyk(60.9%, 67.8%, 0%, 54.9%)
CIE-LABlab(20.51, 27.91, -43.81)
CIE-LCHlch(20.51, 51.95, 302.50°)
OKLaboklab(32.65% 0.025 -0.126)
OKLCHoklch(32.65% 0.128 281.2)
XYZxyz(4.8373, 3.1185, 16.5634)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2573 #6B7325
analogous
#254473 #2D2573 #542573
triadic
#2D2573 #732D25 #25732D
tetradic
#2D2573 #732544 #6B7325 #257354
square
#2D2573 #732544 #6B7325 #257354
split-complementary
#2D2573 #735425 #447325
monochromatic
#090717 #1B1645 #2D2573 #3F34A1 #594DC6

Accessibility & contrast

On white

12.93
#2D2573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2D2573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2573
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2573#FFFFFF#000000##FFFFFF
##2D25731.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d2573;
/* rgb */ color: rgb(45, 37, 115);
/* oklch */ color: oklch(32.6% 0.128 281.2);
Tailwind
colors: {
  custom: {
    50: '#6e609c',
    500: '#2d2573',
    950: '#000000',
  },
}
SCSS
$custom: #2d2573;
$custom-light: #6e609c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2573",
  "rgb": {
    "r": 45,
    "g": 37,
    "b": 115
  },
  "hsl": {
    "h": 246.154,
    "s": 51.316,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3265,
    "c": 0.12849,
    "h": 281.2
  },
  "luminance": 0.03119
}

Semantic roles & 50–950 ramp

primary
#2D2573
secondary
#9DA64E
accent
#DB4DCC
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #2D2573

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

Preview Lab → · Contrast checker → · Palette generator →

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