#2D2079#2D2079

#2D2079 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.4% C 0.143 H 281.5°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#2D2079
RGBrgb(45, 32, 121)
HSLhsl(249, 58%, 30%)
HSVhsv(249, 74%, 47%)
CMYKcmyk(62.8%, 73.6%, 0%, 52.5%)
CIE-LABlab(19.93, 33.10, -48.62)
CIE-LCHlch(19.93, 58.81, 304.25°)
OKLaboklab(32.4% 0.0285 -0.1401)
OKLCHoklch(32.4% 0.143 281.5)
XYZxyz(5.0488, 2.9710, 18.3929)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2079 #6C7920
analogous
#204079 #2D2079 #592079
triadic
#2D2079 #792D20 #20792D
tetradic
#2D2079 #792040 #6C7920 #207959
square
#2D2079 #792040 #6C7920 #207959
split-complementary
#2D2079 #795920 #407920
monochromatic
#090618 #1B1349 #2D2079 #3F2DA9 #5945CE

Accessibility & contrast

On white

13.17
#2D2079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2D2079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2079
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2079#FFFFFF#000000##FFFFFF
##2D20791.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337C
Deuteranopia (green-blind)
#002D77
Tritanopia (blue-blind)
#00384A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2d2079;
/* rgb */ color: rgb(45, 32, 121);
/* oklch */ color: oklch(32.4% 0.143 281.5);
Tailwind
colors: {
  custom: {
    50: '#705da1',
    500: '#2d2079',
    950: '#000000',
  },
}
SCSS
$custom: #2d2079;
$custom-light: #705da1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2079",
  "rgb": {
    "r": 45,
    "g": 32,
    "b": 121
  },
  "hsl": {
    "h": 248.764,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.32403,
    "c": 0.14299,
    "h": 281.5
  },
  "luminance": 0.02971
}

Semantic roles & 50–950 ramp

primary
#2D2079
secondary
#9EAC49
accent
#E146CB
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08040F
muted
#7B797F

Preview Lab

Preview with #2D2079

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

Preview Lab → · Contrast checker → · Palette generator →

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