#2D2D85#2D2D85

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

Color values

HEX#2D2D85
RGBrgb(45, 45, 133)
HSLhsl(240, 49%, 35%)
HSVhsv(240, 66%, 52%)
CMYKcmyk(66.2%, 66.2%, 0%, 47.8%)
CIE-LABlab(24.09, 29.05, -49.39)
CIE-LCHlch(24.09, 57.30, 300.46°)
OKLaboklab(35.75% 0.0158 -0.1424)
OKLCHoklch(35.75% 0.143 276.3)
XYZxyz(6.2528, 4.1276, 22.6529)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2D85 #85852D
analogous
#2D5985 #2D2D85 #592D85
triadic
#2D2D85 #852D2D #2D852D
tetradic
#2D2D85 #852D59 #85852D #2D8559
square
#2D2D85 #852D59 #85852D #2D8559
split-complementary
#2D2D85 #85592D #59852D
monochromatic
#0E0E2A #1E1E57 #2D2D85 #3C3CB3 #6262CA

Accessibility & contrast

On white

11.50
#2D2D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2D85
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2D85#FFFFFF#000000##FFFFFF
##2D2D851.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#003583
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d2d85;
/* rgb */ color: rgb(45, 45, 133);
/* oklch */ color: oklch(35.8% 0.143 276.3);
Tailwind
colors: {
  custom: {
    50: '#7166a9',
    500: '#2d2d85',
    950: '#000000',
  },
}
SCSS
$custom: #2d2d85;
$custom-light: #7166a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2d85",
  "rgb": {
    "r": 45,
    "g": 45,
    "b": 133
  },
  "hsl": {
    "h": 240,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35754,
    "c": 0.14326,
    "h": 276.3
  },
  "luminance": 0.04128
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D2D85

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

Preview Lab → · Contrast checker → · Palette generator →

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