#2D1E80#2D1E80

#2D1E80 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.154 H 280.6°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#2D1E80
RGBrgb(45, 30, 128)
HSLhsl(249, 62%, 31%)
HSVhsv(249, 77%, 50%)
CMYKcmyk(64.8%, 76.6%, 0%, 49.8%)
CIE-LABlab(20.22, 36.58, -52.59)
CIE-LCHlch(20.22, 64.06, 304.82°)
OKLaboklab(32.83% 0.0285 -0.1517)
OKLCHoklch(32.83% 0.154 280.6)
XYZxyz(5.4415, 3.0445, 20.7188)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1E80 #71801E
analogous
#1E4080 #2D1E80 #5E1E80
triadic
#2D1E80 #802D1E #1E802D
tetradic
#2D1E80 #801E40 #71801E #1E805E
square
#2D1E80 #801E40 #71801E #1E805E
split-complementary
#2D1E80 #805E1E #40801E
monochromatic
#0A071D #1C124E #2D1E80 #3E2AB2 #5B45D3

Accessibility & contrast

On white

13.05
#2D1E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D1E80
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1E80#FFFFFF#000000##FFFFFF
##2D1E801.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#002D7E
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2d1e80;
/* rgb */ color: rgb(45, 30, 128);
/* oklch */ color: oklch(32.8% 0.154 280.6);
Tailwind
colors: {
  custom: {
    50: '#725ca6',
    500: '#2d1e80',
    950: '#000000',
  },
}
SCSS
$custom: #2d1e80;
$custom-light: #725ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1e80",
  "rgb": {
    "r": 45,
    "g": 30,
    "b": 128
  },
  "hsl": {
    "h": 249.184,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.32828,
    "c": 0.15436,
    "h": 280.6
  },
  "luminance": 0.03045
}

Semantic roles & 50–950 ramp

primary
#2D1E80
secondary
#A3B347
accent
#E543CC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #2D1E80

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

Preview Lab → · Contrast checker → · Palette generator →

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