#2D5582#2D5582

#2D5582 is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.2% C 0.087 H 252.8°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#2D5582
RGBrgb(45, 85, 130)
HSLhsl(212, 49%, 34%)
HSVhsv(212, 65%, 51%)
CMYKcmyk(65.4%, 34.6%, 0%, 49%)
CIE-LABlab(35.33, 1.09, -29.47)
CIE-LCHlch(35.33, 29.49, 272.11°)
OKLaboklab(44.24% -0.0258 -0.0834)
OKLCHoklch(44.24% 0.087 252.8)
XYZxyz(8.3585, 8.6658, 22.3469)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5582 #825A2D
analogous
#2D8082 #2D5582 #302D82
triadic
#2D5582 #822D55 #55822D
tetradic
#2D5582 #822D80 #825A2D #2D8230
square
#2D5582 #822D80 #825A2D #2D8230
split-complementary
#2D5582 #82302D #80822D
monochromatic
#0E1A27 #1D3755 #2D5582 #3D73AF #6192C8

Accessibility & contrast

On white

7.68
#2D5582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2D5582 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5582
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5582#FFFFFF#000000##FFFFFF
##2D55821.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425884
Deuteranopia (green-blind)
#364F81
Tritanopia (blue-blind)
#005F65
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d5582;
/* rgb */ color: rgb(45, 85, 130);
/* oklch */ color: oklch(44.2% 0.087 252.8);
Tailwind
colors: {
  custom: {
    50: '#6f84a6',
    500: '#2d5582',
    950: '#000000',
  },
}
SCSS
$custom: #2d5582;
$custom-light: #6f84a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5582",
  "rgb": {
    "r": 45,
    "g": 85,
    "b": 130
  },
  "hsl": {
    "h": 211.765,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44235,
    "c": 0.0873,
    "h": 252.8
  },
  "luminance": 0.08667
}

Semantic roles & 50–950 ramp

primary
#2D5582
secondary
#AF885C
accent
#9850D8
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2D5582

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

Preview Lab → · Contrast checker → · Palette generator →

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