#2A6780#2A6780

#2A6780 is a mid, moderate cyan. Relative luminance 0.118; OKLCH L 48.5% C 0.074 H 228.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#2A6780
RGBrgb(42, 103, 128)
HSLhsl(197, 51%, 33%)
HSVhsv(197, 67%, 50%)
CMYKcmyk(67.2%, 19.5%, 0%, 49.8%)
CIE-LABlab(40.82, -11.24, -19.71)
CIE-LCHlch(40.82, 22.69, 240.30°)
OKLaboklab(48.51% -0.0492 -0.0551)
OKLCHoklch(48.51% 0.074 228.2)
XYZxyz(9.6998, 11.7502, 22.1747)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6780 #80432A
analogous
#2A806E #2A6780 #2A3C80
triadic
#2A6780 #802A67 #67802A
tetradic
#2A6780 #6E2A80 #80432A #3C802A
square
#2A6780 #6E2A80 #80432A #3C802A
split-complementary
#2A6780 #802A3C #806E2A
monochromatic
#0C1D24 #1B4252 #2A6780 #398CAE #5BA9C9

Accessibility & contrast

On white

6.27
#2A6780 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A6780
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6780#FFFFFF#000000##FFFFFF
##2A67801.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6581
Deuteranopia (green-blind)
#4E5C80
Tritanopia (blue-blind)
#006E6F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2a6780;
/* rgb */ color: rgb(42, 103, 128);
/* oklch */ color: oklch(48.5% 0.074 228.2);
Tailwind
colors: {
  custom: {
    50: '#6e92a5',
    500: '#2a6780',
    950: '#000000',
  },
}
SCSS
$custom: #2a6780;
$custom-light: #6e92a5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6780",
  "rgb": {
    "r": 42,
    "g": 103,
    "b": 128
  },
  "hsl": {
    "h": 197.442,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4851,
    "c": 0.07387,
    "h": 228.2
  },
  "luminance": 0.11751
}

Semantic roles & 50–950 ramp

primary
#2A6780
secondary
#AF7157
accent
#774EDA
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080D0F
muted
#7B7D7F

Preview Lab

Preview with #2A6780

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

Preview Lab → · Contrast checker → · Palette generator →

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