#2A6778#2A6778

#2A6778 is a mid, moderate cyan. Relative luminance 0.115; OKLCH L 48.1% C 0.068 H 219.1°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#2A6778
RGBrgb(42, 103, 120)
HSLhsl(193, 48%, 32%)
HSVhsv(193, 65%, 47%)
CMYKcmyk(65%, 14.2%, 0%, 52.9%)
CIE-LABlab(40.49, -13.96, -15.36)
CIE-LCHlch(40.49, 20.76, 227.73°)
OKLaboklab(48.14% -0.0525 -0.0427)
OKLCHoklch(48.14% 0.068 219.1)
XYZxyz(9.1939, 11.5479, 19.5101)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6778 #783B2A
analogous
#2A7862 #2A6778 #2A4078
triadic
#2A6778 #782A67 #67782A
tetradic
#2A6778 #622A78 #783B2A #40782A
square
#2A6778 #622A78 #783B2A #40782A
split-complementary
#2A6778 #782A40 #78622A
monochromatic
#0A191D #1A404B #2A6778 #3A8EA5 #58ADC5

Accessibility & contrast

On white

6.34
#2A6778 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#2A6778 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6778
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6778#FFFFFF#000000##FFFFFF
##2A67781.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6479
Deuteranopia (green-blind)
#515C78
Tritanopia (blue-blind)
#006D6C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2a6778;
/* rgb */ color: rgb(42, 103, 120);
/* oklch */ color: oklch(48.1% 0.068 219.1);
Tailwind
colors: {
  custom: {
    50: '#6d929f',
    500: '#2a6778',
    950: '#000000',
  },
}
SCSS
$custom: #2a6778;
$custom-light: #6d929f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6778",
  "rgb": {
    "r": 42,
    "g": 103,
    "b": 120
  },
  "hsl": {
    "h": 193.077,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.48139,
    "c": 0.0677,
    "h": 219.1
  },
  "luminance": 0.11549
}

Semantic roles & 50–950 ramp

primary
#2A6778
secondary
#AA6754
accent
#6E50D8
background
#F6F9F9
surface
#ECF1F2
border
#C7CBCC
text
#070D0E
muted
#7A7E7E

Preview Lab

Preview with #2A6778

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

Preview Lab → · Contrast checker → · Palette generator →

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