#2A7E8F#2A7E8F

#2A7E8F is a mid, moderate cyan. Relative luminance 0.174; OKLCH L 55.1% C 0.082 H 213.9°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2A7E8F
RGBrgb(42, 126, 143)
HSLhsl(190, 55%, 36%)
HSVhsv(190, 71%, 56%)
CMYKcmyk(70.6%, 11.9%, 0%, 43.9%)
CIE-LABlab(48.75, -19.07, -16.49)
CIE-LCHlch(48.75, 25.21, 220.85°)
OKLaboklab(55.07% -0.0683 -0.0459)
OKLCHoklch(55.07% 0.082 213.9)
XYZxyz(13.3715, 17.3956, 28.6342)
Luminance0.1740 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7E8F #8F3B2A
analogous
#2A8F6E #2A7E8F #2A4C8F
triadic
#2A7E8F #8F2A7E #7E8F2A
tetradic
#2A7E8F #6E2A8F #8F3B2A #4C8F2A
square
#2A7E8F #6E2A8F #8F3B2A #4C8F2A
split-complementary
#2A7E8F #8F2A4C #8F6E2A
monochromatic
#0E2B30 #1C5460 #2A7E8F #38A8BE #62BED1

Accessibility & contrast

On white

4.69
#2A7E8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#2A7E8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7E8F
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7E8F#FFFFFF#000000##FFFFFF
##2A7E8F1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#727A90
Deuteranopia (green-blind)
#636F8F
Tritanopia (blue-blind)
#008583
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a7e8f;
/* rgb */ color: rgb(42, 126, 143);
/* oklch */ color: oklch(55.1% 0.082 213.9);
Tailwind
colors: {
  custom: {
    50: '#72a3af',
    500: '#2a7e8f',
    950: '#000000',
  },
}
SCSS
$custom: #2a7e8f;
$custom-light: #72a3af;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7e8f",
  "rgb": {
    "r": 42,
    "g": 126,
    "b": 143
  },
  "hsl": {
    "h": 190.099,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.55071,
    "c": 0.08233,
    "h": 213.9
  },
  "luminance": 0.17397
}

Semantic roles & 50–950 ramp

primary
#2A7E8F
secondary
#B76D5E
accent
#634ADE
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #2A7E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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