#2D6879#2D6879

#2D6879 is a mid, moderate cyan. Relative luminance 0.118; OKLCH L 48.6% C 0.066 H 219.6°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#2D6879
RGBrgb(45, 104, 121)
HSLhsl(193, 46%, 33%)
HSVhsv(193, 63%, 47%)
CMYKcmyk(62.8%, 14%, 0%, 52.5%)
CIE-LABlab(40.96, -13.61, -15.24)
CIE-LCHlch(40.96, 20.43, 228.24°)
OKLaboklab(48.56% -0.0512 -0.0424)
OKLCHoklch(48.56% 0.066 219.6)
XYZxyz(9.4823, 11.8380, 19.8707)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6879 #793E2D
analogous
#2D7964 #2D6879 #2D4279
triadic
#2D6879 #792D68 #68792D
tetradic
#2D6879 #642D79 #793E2D #42792D
square
#2D6879 #642D79 #793E2D #42792D
split-complementary
#2D6879 #792D42 #79642D
monochromatic
#0C1B20 #1C424C #2D6879 #3E8EA6 #5DACC3

Accessibility & contrast

On white

6.24
#2D6879 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#2D6879 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6879
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6879#FFFFFF#000000##FFFFFF
##2D68791.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D657A
Deuteranopia (green-blind)
#525D79
Tritanopia (blue-blind)
#006E6D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2d6879;
/* rgb */ color: rgb(45, 104, 121);
/* oklch */ color: oklch(48.6% 0.066 219.6);
Tailwind
colors: {
  custom: {
    50: '#6e939f',
    500: '#2d6879',
    950: '#000000',
  },
}
SCSS
$custom: #2d6879;
$custom-light: #6e939f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6879",
  "rgb": {
    "r": 45,
    "g": 104,
    "b": 121
  },
  "hsl": {
    "h": 193.421,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.48557,
    "c": 0.06648,
    "h": 219.6
  },
  "luminance": 0.11839
}

Semantic roles & 50–950 ramp

primary
#2D6879
secondary
#A96B58
accent
#7052D5
background
#F6F9F9
surface
#ECF1F2
border
#C7CBCC
text
#080D0E
muted
#7B7E7E

Preview Lab

Preview with #2D6879

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

Preview Lab → · Contrast checker → · Palette generator →

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