#2D5084#2D5084

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

Color values

HEX#2D5084
RGBrgb(45, 80, 132)
HSLhsl(216, 49%, 35%)
HSVhsv(216, 66%, 52%)
CMYKcmyk(65.9%, 39.4%, 0%, 48.2%)
CIE-LABlab(33.90, 5.07, -32.96)
CIE-LCHlch(33.90, 33.35, 278.75°)
OKLaboklab(43.15% -0.0196 -0.0937)
OKLCHoklch(43.15% 0.096 258.2)
XYZxyz(8.1142, 7.9604, 22.9342)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5084 #84612D
analogous
#2D7C84 #2D5084 #352D84
triadic
#2D5084 #842D50 #50842D
tetradic
#2D5084 #842D7C #84612D #2D8435
square
#2D5084 #842D7C #84612D #2D8435
split-complementary
#2D5084 #84352D #7C842D
monochromatic
#0E1929 #1D3456 #2D5084 #3D6CB2 #628CC9

Accessibility & contrast

On white

8.10
#2D5084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2D5084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5084
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5084#FFFFFF#000000##FFFFFF
##2D50841.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395486
Deuteranopia (green-blind)
#2D4C83
Tritanopia (blue-blind)
#005C63
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2d5084;
/* rgb */ color: rgb(45, 80, 132);
/* oklch */ color: oklch(43.2% 0.096 258.2);
Tailwind
colors: {
  custom: {
    50: '#6f80a8',
    500: '#2d5084',
    950: '#000000',
  },
}
SCSS
$custom: #2d5084;
$custom-light: #6f80a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5084",
  "rgb": {
    "r": 45,
    "g": 80,
    "b": 132
  },
  "hsl": {
    "h": 215.862,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43154,
    "c": 0.09571,
    "h": 258.2
  },
  "luminance": 0.07961
}

Semantic roles & 50–950 ramp

primary
#2D5084
secondary
#B08F5D
accent
#A14FD9
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2D5084

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

Preview Lab → · Contrast checker → · Palette generator →

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