#2A6178#2A6178

#2A6178 is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 46.6% C 0.069 H 228.4°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#2A6178
RGBrgb(42, 97, 120)
HSLhsl(198, 48%, 32%)
HSVhsv(198, 65%, 47%)
CMYKcmyk(65%, 19.2%, 0%, 52.9%)
CIE-LABlab(38.55, -10.48, -18.34)
CIE-LCHlch(38.55, 21.12, 240.25°)
OKLaboklab(46.59% -0.0455 -0.0512)
OKLCHoklch(46.59% 0.069 228.4)
XYZxyz(8.6184, 10.3968, 19.3183)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6178 #78412A
analogous
#2A7868 #2A6178 #2A3A78
triadic
#2A6178 #782A61 #61782A
tetradic
#2A6178 #682A78 #78412A #3A782A
square
#2A6178 #682A78 #78412A #3A782A
split-complementary
#2A6178 #782A3A #78682A
monochromatic
#0A181D #1A3C4B #2A6178 #3A86A5 #58A4C5

Accessibility & contrast

On white

6.82
#2A6178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2A6178 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6178
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6178#FFFFFF#000000##FFFFFF
##2A61781.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555F79
Deuteranopia (green-blind)
#4A5778
Tritanopia (blue-blind)
#006868
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2a6178;
/* rgb */ color: rgb(42, 97, 120);
/* oklch */ color: oklch(46.6% 0.069 228.4);
Tailwind
colors: {
  custom: {
    50: '#6c8e9f',
    500: '#2a6178',
    950: '#000000',
  },
}
SCSS
$custom: #2a6178;
$custom-light: #6c8e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6178",
  "rgb": {
    "r": 42,
    "g": 97,
    "b": 120
  },
  "hsl": {
    "h": 197.692,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.46585,
    "c": 0.06851,
    "h": 228.4
  },
  "luminance": 0.10398
}

Semantic roles & 50–950 ramp

primary
#2A6178
secondary
#AA6D54
accent
#7850D8
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#070C0E
muted
#7A7D7E

Preview Lab

Preview with #2A6178

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

Preview Lab → · Contrast checker → · Palette generator →

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