#2D5F82#2D5F82

#2D5F82 is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 46.7% C 0.078 H 241.7°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#2D5F82
RGBrgb(45, 95, 130)
HSLhsl(205, 49%, 34%)
HSVhsv(205, 65%, 51%)
CMYKcmyk(65.4%, 26.9%, 0%, 49%)
CIE-LABlab(38.47, -5.19, -24.55)
CIE-LCHlch(38.47, 25.10, 258.07°)
OKLaboklab(46.7% -0.0372 -0.069)
OKLCHoklch(46.7% 0.078 241.7)
XYZxyz(9.2021, 10.3531, 22.6282)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5F82 #82502D
analogous
#2D827B #2D5F82 #2D3582
triadic
#2D5F82 #822D5F #5F822D
tetradic
#2D5F82 #7B2D82 #82502D #35822D
square
#2D5F82 #7B2D82 #82502D #35822D
split-complementary
#2D5F82 #822D35 #827B2D
monochromatic
#0E1D27 #1D3E55 #2D5F82 #3D80AF #619EC8

Accessibility & contrast

On white

6.84
#2D5F82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2D5F82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5F82
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5F82#FFFFFF#000000##FFFFFF
##2D5F821.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5F84
Deuteranopia (green-blind)
#445781
Tritanopia (blue-blind)
#00686B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2d5f82;
/* rgb */ color: rgb(45, 95, 130);
/* oklch */ color: oklch(46.7% 0.078 241.7);
Tailwind
colors: {
  custom: {
    50: '#6f8ca6',
    500: '#2d5f82',
    950: '#000000',
  },
}
SCSS
$custom: #2d5f82;
$custom-light: #6f8ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5f82",
  "rgb": {
    "r": 45,
    "g": 95,
    "b": 130
  },
  "hsl": {
    "h": 204.706,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46704,
    "c": 0.07844,
    "h": 241.7
  },
  "luminance": 0.10354
}

Semantic roles & 50–950 ramp

primary
#2D5F82
secondary
#AF7E5C
accent
#8850D8
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C0F
muted
#7B7D7F

Preview Lab

Preview with #2D5F82

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

Preview Lab → · Contrast checker → · Palette generator →

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