#2D1D90#2D1D90

#2D1D90 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.4% C 0.175 H 278.2°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#2D1D90
RGBrgb(45, 29, 144)
HSLhsl(248, 66%, 34%)
HSVhsv(248, 80%, 56%)
CMYKcmyk(68.7%, 79.9%, 0%, 43.5%)
CIE-LABlab(21.76, 42.27, -60.08)
CIE-LCHlch(21.76, 73.46, 305.13°)
OKLaboklab(34.42% 0.0249 -0.1735)
OKLCHoklch(34.42% 0.175 278.2)
XYZxyz(6.5540, 3.4497, 26.7006)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1D90 #80901D
analogous
#1D4790 #2D1D90 #671D90
triadic
#2D1D90 #902D1D #1D902D
tetradic
#2D1D90 #901D47 #80901D #1D9067
square
#2D1D90 #901D47 #80901D #1D9067
split-complementary
#2D1D90 #90671D #47901D
monochromatic
#0D082A #1D135D #2D1D90 #3D27C3 #604CDB

Accessibility & contrast

On white

12.43
#2D1D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2D1D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1D90
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1D90#FFFFFF#000000##FFFFFF
##2D1D901.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003993
Deuteranopia (green-blind)
#002F8E
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2d1d90;
/* rgb */ color: rgb(45, 29, 144);
/* oklch */ color: oklch(34.4% 0.175 278.2);
Tailwind
colors: {
  custom: {
    50: '#755cb2',
    500: '#2d1d90',
    950: '#000000',
  },
}
SCSS
$custom: #2d1d90;
$custom-light: #755cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1d90",
  "rgb": {
    "r": 45,
    "g": 29,
    "b": 144
  },
  "hsl": {
    "h": 248.348,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34425,
    "c": 0.17533,
    "h": 278.2
  },
  "luminance": 0.0345
}

Semantic roles & 50–950 ramp

primary
#2D1D90
secondary
#AEBD4B
accent
#E93ED2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2D1D90

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

Preview Lab → · Contrast checker → · Palette generator →

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