#2D5086#2D5086

#2D5086 is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.3% C 0.099 H 258.8°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#2D5086
RGBrgb(45, 80, 134)
HSLhsl(216, 50%, 35%)
HSVhsv(216, 66%, 53%)
CMYKcmyk(66.4%, 40.3%, 0%, 47.5%)
CIE-LABlab(34.02, 5.82, -34.01)
CIE-LCHlch(34.02, 34.50, 279.71°)
OKLaboklab(43.28% -0.0191 -0.0967)
OKLCHoklch(43.28% 0.099 258.8)
XYZxyz(8.2524, 8.0157, 23.6619)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5086 #86632D
analogous
#2D7D86 #2D5086 #362D86
triadic
#2D5086 #862D50 #50862D
tetradic
#2D5086 #862D7D #86632D #2D8636
square
#2D5086 #862D7D #86632D #2D8636
split-complementary
#2D5086 #86362D #7D862D
monochromatic
#0E192A #1E3558 #2D5086 #3C6BB4 #638CCB

Accessibility & contrast

On white

8.07
#2D5086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D5086
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5086#FFFFFF#000000##FFFFFF
##2D50861.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d5086;
/* rgb */ color: rgb(45, 80, 134);
/* oklch */ color: oklch(43.3% 0.099 258.8);
Tailwind
colors: {
  custom: {
    50: '#7080a9',
    500: '#2d5086',
    950: '#000000',
  },
}
SCSS
$custom: #2d5086;
$custom-light: #7080a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5086",
  "rgb": {
    "r": 45,
    "g": 80,
    "b": 134
  },
  "hsl": {
    "h": 216.404,
    "s": 49.721,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43281,
    "c": 0.09862,
    "h": 258.8
  },
  "luminance": 0.08016
}

Semantic roles & 50–950 ramp

primary
#2D5086
secondary
#B1905E
accent
#A34FD9
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2D5086

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

Preview Lab → · Contrast checker → · Palette generator →

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