#2D1E88#2D1E88

#2D1E88 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.7% C 0.164 H 279.3°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#2D1E88
RGBrgb(45, 30, 136)
HSLhsl(248, 64%, 33%)
HSVhsv(248, 78%, 53%)
CMYKcmyk(66.9%, 77.9%, 0%, 46.7%)
CIE-LABlab(21.07, 39.18, -56.23)
CIE-LCHlch(21.07, 68.53, 304.87°)
OKLaboklab(33.68% 0.0265 -0.1623)
OKLCHoklch(33.68% 0.164 279.3)
XYZxyz(5.9890, 3.2635, 23.6021)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1E88 #79881E
analogous
#1E4488 #2D1E88 #621E88
triadic
#2D1E88 #882D1E #1E882D
tetradic
#2D1E88 #881E44 #79881E #1E8862
square
#2D1E88 #881E44 #79881E #1E8862
split-complementary
#2D1E88 #88621E #44881E
monochromatic
#0C0824 #1C1356 #2D1E88 #3E29BA #5D49D7

Accessibility & contrast

On white

12.71
#2D1E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2D1E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1E88
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1E88#FFFFFF#000000##FFFFFF
##2D1E881.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378B
Deuteranopia (green-blind)
#002E86
Tritanopia (blue-blind)
#003D52
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2d1e88;
/* rgb */ color: rgb(45, 30, 136);
/* oklch */ color: oklch(33.7% 0.164 279.3);
Tailwind
colors: {
  custom: {
    50: '#735cac',
    500: '#2d1e88',
    950: '#000000',
  },
}
SCSS
$custom: #2d1e88;
$custom-light: #735cac;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1e88",
  "rgb": {
    "r": 45,
    "g": 30,
    "b": 136
  },
  "hsl": {
    "h": 248.491,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.3368,
    "c": 0.16449,
    "h": 279.3
  },
  "luminance": 0.03264
}

Semantic roles & 50–950 ramp

primary
#2D1E88
secondary
#A9B949
accent
#E741CF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2D1E88

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

Preview Lab → · Contrast checker → · Palette generator →

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