#2D5282#2D5282

#2D5282 is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.5% C 0.091 H 255.7°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#2D5282
RGBrgb(45, 82, 130)
HSLhsl(214, 49%, 34%)
HSVhsv(214, 65%, 51%)
CMYKcmyk(65.4%, 36.9%, 0%, 49%)
CIE-LABlab(34.40, 3.02, -30.94)
CIE-LCHlch(34.40, 31.08, 275.58°)
OKLaboklab(43.51% -0.0224 -0.0877)
OKLCHoklch(43.51% 0.091 255.7)
XYZxyz(8.1273, 8.2034, 22.2699)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5282 #825D2D
analogous
#2D7D82 #2D5282 #332D82
triadic
#2D5282 #822D52 #52822D
tetradic
#2D5282 #822D7D #825D2D #2D8233
square
#2D5282 #822D7D #825D2D #2D8233
split-complementary
#2D5282 #82332D #7D822D
monochromatic
#0E1927 #1D3555 #2D5282 #3D6FAF #618EC8

Accessibility & contrast

On white

7.95
#2D5282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2D5282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5282
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5282#FFFFFF#000000##FFFFFF
##2D52821.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5584
Deuteranopia (green-blind)
#324D81
Tritanopia (blue-blind)
#005D64
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2d5282;
/* rgb */ color: rgb(45, 82, 130);
/* oklch */ color: oklch(43.5% 0.091 255.7);
Tailwind
colors: {
  custom: {
    50: '#6f82a6',
    500: '#2d5282',
    950: '#000000',
  },
}
SCSS
$custom: #2d5282;
$custom-light: #6f82a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5282",
  "rgb": {
    "r": 45,
    "g": 82,
    "b": 130
  },
  "hsl": {
    "h": 213.882,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43509,
    "c": 0.09054,
    "h": 255.7
  },
  "luminance": 0.08204
}

Semantic roles & 50–950 ramp

primary
#2D5282
secondary
#AF8B5C
accent
#9D50D8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2D5282

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

Preview Lab → · Contrast checker → · Palette generator →

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