#2D2D86#2D2D86

#2D2D86 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.145 H 276.3°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#2D2D86
RGBrgb(45, 45, 134)
HSLhsl(240, 50%, 35%)
HSVhsv(240, 66%, 53%)
CMYKcmyk(66.4%, 66.4%, 0%, 47.5%)
CIE-LABlab(24.18, 29.40, -49.87)
CIE-LCHlch(24.18, 57.89, 300.52°)
OKLaboklab(35.85% 0.0158 -0.1438)
OKLCHoklch(35.85% 0.145 276.3)
XYZxyz(6.3222, 4.1554, 23.0185)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2D86 #86862D
analogous
#2D5986 #2D2D86 #592D86
triadic
#2D2D86 #862D2D #2D862D
tetradic
#2D2D86 #862D59 #86862D #2D8659
square
#2D2D86 #862D59 #86862D #2D8659
split-complementary
#2D2D86 #86592D #59862D
monochromatic
#0E0E2A #1E1E58 #2D2D86 #3C3CB4 #6363CB

Accessibility & contrast

On white

11.47
#2D2D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2D2D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2D86
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2D86#FFFFFF#000000##FFFFFF
##2D2D861.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#003684
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d2d86;
/* rgb */ color: rgb(45, 45, 134);
/* oklch */ color: oklch(35.8% 0.145 276.3);
Tailwind
colors: {
  custom: {
    50: '#7266aa',
    500: '#2d2d86',
    950: '#000000',
  },
}
SCSS
$custom: #2d2d86;
$custom-light: #7266aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2d86",
  "rgb": {
    "r": 45,
    "g": 45,
    "b": 134
  },
  "hsl": {
    "h": 240,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35848,
    "c": 0.14465,
    "h": 276.3
  },
  "luminance": 0.04156
}

Semantic roles & 50–950 ramp

primary
#2D2D86
secondary
#B1B15E
accent
#D94FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2D2D86

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

Preview Lab → · Contrast checker → · Palette generator →

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