#2D1E89#2D1E89

#2D1E89 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.8% C 0.166 H 279.1°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#2D1E89
RGBrgb(45, 30, 137)
HSLhsl(248, 64%, 33%)
HSVhsv(248, 78%, 54%)
CMYKcmyk(67.2%, 78.1%, 0%, 46.3%)
CIE-LABlab(21.18, 39.50, -56.68)
CIE-LCHlch(21.18, 69.09, 304.88°)
OKLaboklab(33.79% 0.0262 -0.1636)
OKLCHoklch(33.79% 0.166 279.1)
XYZxyz(6.0604, 3.2921, 23.9781)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1E89 #7A891E
analogous
#1E4589 #2D1E89 #621E89
triadic
#2D1E89 #892D1E #1E892D
tetradic
#2D1E89 #891E45 #7A891E #1E8962
square
#2D1E89 #891E45 #7A891E #1E8962
split-complementary
#2D1E89 #89621E #45891E
monochromatic
#0C0825 #1D1357 #2D1E89 #3D29BB #5E4AD7

Accessibility & contrast

On white

12.66
#2D1E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2D1E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1E89
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1E89#FFFFFF#000000##FFFFFF
##2D1E891.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d1e89;
/* rgb */ color: rgb(45, 30, 137);
/* oklch */ color: oklch(33.8% 0.166 279.1);
Tailwind
colors: {
  custom: {
    50: '#745cad',
    500: '#2d1e89',
    950: '#000000',
  },
}
SCSS
$custom: #2d1e89;
$custom-light: #745cad;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1e89",
  "rgb": {
    "r": 45,
    "g": 30,
    "b": 137
  },
  "hsl": {
    "h": 248.411,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33788,
    "c": 0.16574,
    "h": 279.1
  },
  "luminance": 0.03293
}

Semantic roles & 50–950 ramp

primary
#2D1E89
secondary
#AABA49
accent
#E741D0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2D1E89

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

Preview Lab → · Contrast checker → · Palette generator →

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