#2A7C8D#2A7C8D

#2A7C8D is a mid, moderate cyan. Relative luminance 0.168; OKLCH L 54.5% C 0.081 H 214.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2A7C8D
RGBrgb(42, 124, 141)
HSLhsl(190, 54%, 36%)
HSVhsv(190, 70%, 55%)
CMYKcmyk(70.2%, 12.1%, 0%, 44.7%)
CIE-LABlab(48.04, -18.65, -16.40)
CIE-LCHlch(48.04, 24.83, 221.32°)
OKLaboklab(54.47% -0.067 -0.0456)
OKLCHoklch(54.47% 0.081 214.2)
XYZxyz(12.9682, 16.8292, 27.7590)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7C8D #8D3B2A
analogous
#2A8D6C #2A7C8D #2A4A8D
triadic
#2A7C8D #8D2A7C #7C8D2A
tetradic
#2A7C8D #6C2A8D #8D3B2A #4A8D2A
square
#2A7C8D #6C2A8D #8D3B2A #4A8D2A
split-complementary
#2A7C8D #8D2A4A #8D6C2A
monochromatic
#0E292F #1C535E #2A7C8D #38A5BC #61BDD0

Accessibility & contrast

On white

4.81
#2A7C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#2A7C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7C8D
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7C8D#FFFFFF#000000##FFFFFF
##2A7C8D1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70788E
Deuteranopia (green-blind)
#626E8D
Tritanopia (blue-blind)
#008381
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2a7c8d;
/* rgb */ color: rgb(42, 124, 141);
/* oklch */ color: oklch(54.5% 0.081 214.2);
Tailwind
colors: {
  custom: {
    50: '#71a2ae',
    500: '#2a7c8d',
    950: '#000000',
  },
}
SCSS
$custom: #2a7c8d;
$custom-light: #71a2ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7c8d",
  "rgb": {
    "r": 42,
    "g": 124,
    "b": 141
  },
  "hsl": {
    "h": 190.303,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.54475,
    "c": 0.0811,
    "h": 214.2
  },
  "luminance": 0.16831
}

Semantic roles & 50–950 ramp

primary
#2A7C8D
secondary
#B66C5D
accent
#644ADD
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090F10
muted
#7B7E7F

Preview Lab

Preview with #2A7C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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