#2D5280#2D5280

#2D5280 is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.4% C 0.088 H 254.8°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#2D5280
RGBrgb(45, 82, 128)
HSLhsl(213, 48%, 34%)
HSVhsv(213, 65%, 50%)
CMYKcmyk(64.8%, 35.9%, 0%, 49.8%)
CIE-LABlab(34.29, 2.29, -29.88)
CIE-LCHlch(34.29, 29.96, 274.38°)
OKLaboklab(43.39% -0.023 -0.0846)
OKLCHoklch(43.39% 0.088 254.8)
XYZxyz(7.9944, 8.1502, 21.5697)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5280 #805B2D
analogous
#2D7C80 #2D5280 #322D80
triadic
#2D5280 #802D52 #52802D
tetradic
#2D5280 #802D7C #805B2D #2D8032
square
#2D5280 #802D7C #805B2D #2D8032
split-complementary
#2D5280 #80322D #7C802D
monochromatic
#0D1825 #1D3553 #2D5280 #3D6FAD #608EC7

Accessibility & contrast

On white

7.98
#2D5280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2D5280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5280
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5280#FFFFFF#000000##FFFFFF
##2D52801.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5582
Deuteranopia (green-blind)
#334D7F
Tritanopia (blue-blind)
#005D63
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2d5280;
/* rgb */ color: rgb(45, 82, 128);
/* oklch */ color: oklch(43.4% 0.088 254.8);
Tailwind
colors: {
  custom: {
    50: '#6e82a5',
    500: '#2d5280',
    950: '#000000',
  },
}
SCSS
$custom: #2d5280;
$custom-light: #6e82a5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5280",
  "rgb": {
    "r": 45,
    "g": 82,
    "b": 128
  },
  "hsl": {
    "h": 213.253,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43388,
    "c": 0.08768,
    "h": 254.8
  },
  "luminance": 0.08151
}

Semantic roles & 50–950 ramp

primary
#2D5280
secondary
#AE895B
accent
#9B50D8
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2D5280

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

Preview Lab → · Contrast checker → · Palette generator →

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