#2A6879#2A6879

#2A6879 is a mid, moderate cyan. Relative luminance 0.118; OKLCH L 48.4% C 0.068 H 218.8°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#2A6879
RGBrgb(42, 104, 121)
HSLhsl(193, 48%, 32%)
HSVhsv(193, 65%, 47%)
CMYKcmyk(65.3%, 14%, 0%, 52.5%)
CIE-LABlab(40.85, -14.20, -15.41)
CIE-LCHlch(40.85, 20.95, 227.35°)
OKLaboklab(48.44% -0.0532 -0.0429)
OKLCHoklch(48.44% 0.068 218.8)
XYZxyz(9.3550, 11.7724, 19.8647)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6879 #793B2A
analogous
#2A7963 #2A6879 #2A4179
triadic
#2A6879 #792A68 #68792A
tetradic
#2A6879 #632A79 #793B2A #41792A
square
#2A6879 #632A79 #793B2A #41792A
split-complementary
#2A6879 #792A41 #79632A
monochromatic
#0A1A1E #1A414C #2A6879 #3A8FA6 #58AEC5

Accessibility & contrast

On white

6.26
#2A6879 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#2A6879 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6879
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6879#FFFFFF#000000##FFFFFF
##2A68791.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a6879;
/* rgb */ color: rgb(42, 104, 121);
/* oklch */ color: oklch(48.4% 0.068 218.8);
Tailwind
colors: {
  custom: {
    50: '#6d939f',
    500: '#2a6879',
    950: '#000000',
  },
}
SCSS
$custom: #2a6879;
$custom-light: #6d939f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6879",
  "rgb": {
    "r": 42,
    "g": 104,
    "b": 121
  },
  "hsl": {
    "h": 192.911,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.48443,
    "c": 0.06836,
    "h": 218.8
  },
  "luminance": 0.11773
}

Semantic roles & 50–950 ramp

primary
#2A6879
secondary
#AB6754
accent
#6D50D8
background
#F6F9F9
surface
#ECF1F2
border
#C7CBCC
text
#080D0E
muted
#7B7E7E

Preview Lab

Preview with #2A6879

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

Preview Lab → · Contrast checker → · Palette generator →

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