#2D2673#2D2673

#2D2673 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.8% C 0.127 H 280.9°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#2D2673
RGBrgb(45, 38, 115)
HSLhsl(245, 50%, 30%)
HSVhsv(245, 67%, 45%)
CMYKcmyk(60.9%, 67%, 0%, 54.9%)
CIE-LABlab(20.76, 27.26, -43.41)
CIE-LCHlch(20.76, 51.26, 302.12°)
OKLaboklab(32.83% 0.024 -0.1249)
OKLCHoklch(32.83% 0.127 280.9)
XYZxyz(4.8688, 3.1816, 16.5739)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2673 #6C7326
analogous
#264573 #2D2673 #542673
triadic
#2D2673 #732D26 #26732D
tetradic
#2D2673 #732645 #6C7326 #267354
square
#2D2673 #732645 #6C7326 #267354
split-complementary
#2D2673 #735426 #457326
monochromatic
#090817 #1B1745 #2D2673 #3F35A1 #594FC5

Accessibility & contrast

On white

12.83
#2D2673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2D2673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2673
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2673#FFFFFF#000000##FFFFFF
##2D26731.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d2673;
/* rgb */ color: rgb(45, 38, 115);
/* oklch */ color: oklch(32.8% 0.127 280.9);
Tailwind
colors: {
  custom: {
    50: '#6e619c',
    500: '#2d2673',
    950: '#000000',
  },
}
SCSS
$custom: #2d2673;
$custom-light: #6e619c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2673",
  "rgb": {
    "r": 45,
    "g": 38,
    "b": 115
  },
  "hsl": {
    "h": 245.455,
    "s": 50.327,
    "l": 30
  },
  "oklch": {
    "l": 0.32828,
    "c": 0.12714,
    "h": 280.9
  },
  "luminance": 0.03182
}

Semantic roles & 50–950 ramp

primary
#2D2673
secondary
#9EA64F
accent
#DA4ECD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #2D2673

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

Preview Lab → · Contrast checker → · Palette generator →

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