#2D1E7A#2D1E7A

#2D1E7A is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.2% C 0.147 H 281.8°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#2D1E7A
RGBrgb(45, 30, 122)
HSLhsl(250, 61%, 30%)
HSVhsv(250, 75%, 48%)
CMYKcmyk(63.1%, 75.4%, 0%, 52.2%)
CIE-LABlab(19.60, 34.61, -49.79)
CIE-LCHlch(19.60, 60.64, 304.81°)
OKLaboklab(32.2% 0.0299 -0.1435)
OKLCHoklch(32.2% 0.147 281.8)
XYZxyz(5.0582, 2.8912, 18.7001)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1E7A #6B7A1E
analogous
#1E3D7A #2D1E7A #5B1E7A
triadic
#2D1E7A #7A2D1E #1E7A2D
tetradic
#2D1E7A #7A1E3D #6B7A1E #1E7A5B
square
#2D1E7A #7A1E3D #6B7A1E #1E7A5B
split-complementary
#2D1E7A #7A5B1E #3D7A1E
monochromatic
#090619 #1B1249 #2D1E7A #3F2AAB #5942D0

Accessibility & contrast

On white

13.30
#2D1E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#2D1E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1E7A
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1E7A#FFFFFF#000000##FFFFFF
##2D1E7A1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337D
Deuteranopia (green-blind)
#002C78
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2d1e7a;
/* rgb */ color: rgb(45, 30, 122);
/* oklch */ color: oklch(32.2% 0.147 281.8);
Tailwind
colors: {
  custom: {
    50: '#705ca1',
    500: '#2d1e7a',
    950: '#000000',
  },
}
SCSS
$custom: #2d1e7a;
$custom-light: #705ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1e7a",
  "rgb": {
    "r": 45,
    "g": 30,
    "b": 122
  },
  "hsl": {
    "h": 249.783,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32203,
    "c": 0.14662,
    "h": 281.8
  },
  "luminance": 0.02892
}

Semantic roles & 50–950 ramp

primary
#2D1E7A
secondary
#9DAE46
accent
#E444CA
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08040F
muted
#7B797F

Preview Lab

Preview with #2D1E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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