#2D1E7F#2D1E7F

#2D1E7F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.153 H 280.8°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#2D1E7F
RGBrgb(45, 30, 127)
HSLhsl(249, 62%, 31%)
HSVhsv(249, 76%, 50%)
CMYKcmyk(64.6%, 76.4%, 0%, 50.2%)
CIE-LABlab(20.12, 36.25, -52.12)
CIE-LCHlch(20.12, 63.49, 304.82°)
OKLaboklab(32.72% 0.0287 -0.1504)
OKLCHoklch(32.72% 0.153 280.8)
XYZxyz(5.3760, 3.0183, 20.3739)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1E7F #707F1E
analogous
#1E407F #2D1E7F #5D1E7F
triadic
#2D1E7F #7F2D1E #1E7F2D
tetradic
#2D1E7F #7F1E40 #707F1E #1E7F5D
square
#2D1E7F #7F1E40 #707F1E #1E7F5D
split-complementary
#2D1E7F #7F5D1E #407F1E
monochromatic
#0A071C #1B124D #2D1E7F #3F2AB1 #5A44D3

Accessibility & contrast

On white

13.09
#2D1E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2D1E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1E7F
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1E7F#FFFFFF#000000##FFFFFF
##2D1E7F1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#002D7D
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2d1e7f;
/* rgb */ color: rgb(45, 30, 127);
/* oklch */ color: oklch(32.7% 0.153 280.8);
Tailwind
colors: {
  custom: {
    50: '#715ca5',
    500: '#2d1e7f',
    950: '#000000',
  },
}
SCSS
$custom: #2d1e7f;
$custom-light: #715ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1e7f",
  "rgb": {
    "r": 45,
    "g": 30,
    "b": 127
  },
  "hsl": {
    "h": 249.278,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32723,
    "c": 0.15308,
    "h": 280.8
  },
  "luminance": 0.03019
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D1E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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