#2D5085#2D5085

#2D5085 is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.2% C 0.097 H 258.5°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#2D5085
RGBrgb(45, 80, 133)
HSLhsl(216, 49%, 35%)
HSVhsv(216, 66%, 52%)
CMYKcmyk(66.2%, 39.8%, 0%, 47.8%)
CIE-LABlab(33.96, 5.45, -33.49)
CIE-LCHlch(33.96, 33.93, 279.24°)
OKLaboklab(43.22% -0.0194 -0.0952)
OKLCHoklch(43.22% 0.097 258.5)
XYZxyz(8.1830, 7.9879, 23.2963)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5085 #85622D
analogous
#2D7C85 #2D5085 #362D85
triadic
#2D5085 #852D50 #50852D
tetradic
#2D5085 #852D7C #85622D #2D8536
square
#2D5085 #852D7C #85622D #2D8536
split-complementary
#2D5085 #85362D #7C852D
monochromatic
#0E192A #1E3457 #2D5085 #3C6CB3 #628CCA

Accessibility & contrast

On white

8.08
#2D5085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2D5085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5085
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5085#FFFFFF#000000##FFFFFF
##2D50851.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395487
Deuteranopia (green-blind)
#2C4C84
Tritanopia (blue-blind)
#005C64
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2d5085;
/* rgb */ color: rgb(45, 80, 133);
/* oklch */ color: oklch(43.2% 0.097 258.5);
Tailwind
colors: {
  custom: {
    50: '#6f80a9',
    500: '#2d5085',
    950: '#000000',
  },
}
SCSS
$custom: #2d5085;
$custom-light: #6f80a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5085",
  "rgb": {
    "r": 45,
    "g": 80,
    "b": 133
  },
  "hsl": {
    "h": 216.136,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43217,
    "c": 0.09716,
    "h": 258.5
  },
  "luminance": 0.07989
}

Semantic roles & 50–950 ramp

primary
#2D5085
secondary
#B08F5D
accent
#A24FD9
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2D5085

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

Preview Lab → · Contrast checker → · Palette generator →

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