#2D6A87#2D6A87

#2D6A87 is a mid, moderate cyan. Relative luminance 0.126; OKLCH L 49.7% C 0.078 H 231.9°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#2D6A87
RGBrgb(45, 106, 135)
HSLhsl(199, 50%, 35%)
HSVhsv(199, 67%, 53%)
CMYKcmyk(66.7%, 21.5%, 0%, 47.1%)
CIE-LABlab(42.18, -10.03, -21.83)
CIE-LCHlch(42.18, 24.02, 245.32°)
OKLaboklab(49.72% -0.0479 -0.0611)
OKLCHoklch(49.72% 0.078 231.9)
XYZxyz(10.6077, 12.6141, 24.7927)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6A87 #874A2D
analogous
#2D8777 #2D6A87 #2D3D87
triadic
#2D6A87 #872D6A #6A872D
tetradic
#2D6A87 #772D87 #874A2D #3D872D
square
#2D6A87 #772D87 #874A2D #3D872D
split-complementary
#2D6A87 #872D3D #87772D
monochromatic
#0E222B #1E4659 #2D6A87 #3C8EB5 #63AACB

Accessibility & contrast

On white

5.96
#2D6A87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#2D6A87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6A87
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6A87#FFFFFF#000000##FFFFFF
##2D6A871.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6988
Deuteranopia (green-blind)
#4F6087
Tritanopia (blue-blind)
#007274
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2d6a87;
/* rgb */ color: rgb(45, 106, 135);
/* oklch */ color: oklch(49.7% 0.078 231.9);
Tailwind
colors: {
  custom: {
    50: '#7094aa',
    500: '#2d6a87',
    950: '#000000',
  },
}
SCSS
$custom: #2d6a87;
$custom-light: #7094aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6a87",
  "rgb": {
    "r": 45,
    "g": 106,
    "b": 135
  },
  "hsl": {
    "h": 199.333,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.49722,
    "c": 0.07763,
    "h": 231.9
  },
  "luminance": 0.12615
}

Semantic roles & 50–950 ramp

primary
#2D6A87
secondary
#B2795E
accent
#7B4EDA
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #2D6A87

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

Preview Lab → · Contrast checker → · Palette generator →

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