#2D2379#2D2379

#2D2379 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.139 H 280.7°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#2D2379
RGBrgb(45, 35, 121)
HSLhsl(247, 55%, 31%)
HSVhsv(247, 71%, 47%)
CMYKcmyk(62.8%, 71.1%, 0%, 52.5%)
CIE-LABlab(20.60, 31.25, -47.52)
CIE-LCHlch(20.60, 56.87, 303.33°)
OKLaboklab(32.88% 0.026 -0.1369)
OKLCHoklch(32.88% 0.139 280.7)
XYZxyz(5.1333, 3.1401, 18.4210)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2379 #6F7923
analogous
#234479 #2D2379 #582379
triadic
#2D2379 #792D23 #23792D
tetradic
#2D2379 #792344 #6F7923 #237958
square
#2D2379 #792344 #6F7923 #237958
split-complementary
#2D2379 #795823 #447923
monochromatic
#0A081A #1B154A #2D2379 #3F31A8 #5A4BCB

Accessibility & contrast

On white

12.90
#2D2379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2379
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2379#FFFFFF#000000##FFFFFF
##2D23791.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357C
Deuteranopia (green-blind)
#002E77
Tritanopia (blue-blind)
#003A4B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2d2379;
/* rgb */ color: rgb(45, 35, 121);
/* oklch */ color: oklch(32.9% 0.139 280.7);
Tailwind
colors: {
  custom: {
    50: '#705fa1',
    500: '#2d2379',
    950: '#000000',
  },
}
SCSS
$custom: #2d2379;
$custom-light: #705fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2379",
  "rgb": {
    "r": 45,
    "g": 35,
    "b": 121
  },
  "hsl": {
    "h": 246.977,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.32882,
    "c": 0.13935,
    "h": 280.7
  },
  "luminance": 0.0314
}

Semantic roles & 50–950 ramp

primary
#2D2379
secondary
#A1AC4C
accent
#DE49CD
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08040F
muted
#7B797F

Preview Lab

Preview with #2D2379

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

Preview Lab → · Contrast checker → · Palette generator →

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