#2D1992#2D1992

#2D1992 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.2% C 0.181 H 278.3°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#2D1992
RGBrgb(45, 25, 146)
HSLhsl(250, 71%, 34%)
HSVhsv(250, 83%, 57%)
CMYKcmyk(69.2%, 82.9%, 0%, 42.7%)
CIE-LABlab(21.31, 44.86, -62.06)
CIE-LCHlch(21.31, 76.58, 305.86°)
OKLaboklab(34.18% 0.0263 -0.1793)
OKLCHoklch(34.18% 0.181 278.3)
XYZxyz(6.6165, 3.3279, 27.4822)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1992 #7E9219
analogous
#194192 #2D1992 #691992
triadic
#2D1992 #922D19 #19922D
tetradic
#2D1992 #921941 #7E9219 #199269
square
#2D1992 #921941 #7E9219 #199269
split-complementary
#2D1992 #926919 #419219
monochromatic
#0D0729 #1D105E #2D1992 #3D22C6 #5F46DF

Accessibility & contrast

On white

12.61
#2D1992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2D1992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1992
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1992#FFFFFF#000000##FFFFFF
##2D19921.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003895
Deuteranopia (green-blind)
#002E90
Tritanopia (blue-blind)
#003F57
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2d1992;
/* rgb */ color: rgb(45, 25, 146);
/* oklch */ color: oklch(34.2% 0.181 278.3);
Tailwind
colors: {
  custom: {
    50: '#765ab3',
    500: '#2d1992',
    950: '#000000',
  },
}
SCSS
$custom: #2d1992;
$custom-light: #765ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1992",
  "rgb": {
    "r": 45,
    "g": 25,
    "b": 146
  },
  "hsl": {
    "h": 249.917,
    "s": 70.76,
    "l": 33.529
  },
  "oklch": {
    "l": 0.3418,
    "c": 0.18119,
    "h": 278.3
  },
  "luminance": 0.03328
}

Semantic roles & 50–950 ramp

primary
#2D1992
secondary
#ACC146
accent
#EE3AD0
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2D1992

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

Preview Lab → · Contrast checker → · Palette generator →

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