#2D2085#2D2085

#2D2085 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.159 H 279.4°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#2D2085
RGBrgb(45, 32, 133)
HSLhsl(248, 61%, 32%)
HSVhsv(248, 76%, 52%)
CMYKcmyk(66.2%, 75.9%, 0%, 47.8%)
CIE-LABlab(21.15, 37.08, -54.22)
CIE-LCHlch(21.15, 65.69, 304.37°)
OKLaboklab(33.64% 0.0259 -0.1565)
OKLCHoklch(33.64% 0.159 279.4)
XYZxyz(5.8310, 3.2839, 22.5123)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2085 #788520
analogous
#204585 #2D2085 #602085
triadic
#2D2085 #852D20 #20852D
tetradic
#2D2085 #852045 #788520 #208560
square
#2D2085 #852045 #788520 #208560
split-complementary
#2D2085 #856020 #458520
monochromatic
#0C0822 #1C1454 #2D2085 #3E2CB6 #5D4CD4

Accessibility & contrast

On white

12.68
#2D2085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2085
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2085#FFFFFF#000000##FFFFFF
##2D20851.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#002F83
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2d2085;
/* rgb */ color: rgb(45, 32, 133);
/* oklch */ color: oklch(33.6% 0.159 279.4);
Tailwind
colors: {
  custom: {
    50: '#735daa',
    500: '#2d2085',
    950: '#000000',
  },
}
SCSS
$custom: #2d2085;
$custom-light: #735daa;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2085",
  "rgb": {
    "r": 45,
    "g": 32,
    "b": 133
  },
  "hsl": {
    "h": 247.723,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33639,
    "c": 0.15863,
    "h": 279.4
  },
  "luminance": 0.03284
}

Semantic roles & 50–950 ramp

primary
#2D2085
secondary
#A9B74A
accent
#E443D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2D2085

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

Preview Lab → · Contrast checker → · Palette generator →

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