#2D5082#2D5082

#2D5082 is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.0% C 0.093 H 257.5°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#2D5082
RGBrgb(45, 80, 130)
HSLhsl(215, 49%, 34%)
HSVhsv(215, 65%, 51%)
CMYKcmyk(65.4%, 38.5%, 0%, 49%)
CIE-LABlab(33.79, 4.33, -31.91)
CIE-LCHlch(33.79, 32.20, 277.73°)
OKLaboklab(43.03% -0.0202 -0.0906)
OKLCHoklch(43.03% 0.093 257.5)
XYZxyz(7.9787, 7.9062, 22.2203)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5082 #825F2D
analogous
#2D7B82 #2D5082 #352D82
triadic
#2D5082 #822D50 #50822D
tetradic
#2D5082 #822D7B #825F2D #2D8235
square
#2D5082 #822D7B #825F2D #2D8235
split-complementary
#2D5082 #82352D #7B822D
monochromatic
#0E1827 #1D3455 #2D5082 #3D6CAF #618CC8

Accessibility & contrast

On white

8.14
#2D5082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2D5082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5082
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5082#FFFFFF#000000##FFFFFF
##2D50821.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5484
Deuteranopia (green-blind)
#2E4C81
Tritanopia (blue-blind)
#005B62
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2d5082;
/* rgb */ color: rgb(45, 80, 130);
/* oklch */ color: oklch(43.0% 0.093 257.5);
Tailwind
colors: {
  custom: {
    50: '#6f80a6',
    500: '#2d5082',
    950: '#000000',
  },
}
SCSS
$custom: #2d5082;
$custom-light: #6f80a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5082",
  "rgb": {
    "r": 45,
    "g": 80,
    "b": 130
  },
  "hsl": {
    "h": 215.294,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43028,
    "c": 0.09281,
    "h": 257.5
  },
  "luminance": 0.07907
}

Semantic roles & 50–950 ramp

primary
#2D5082
secondary
#AF8D5C
accent
#A050D8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2D5082

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

Preview Lab → · Contrast checker → · Palette generator →

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