#2A7C9E#2A7C9E

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

Color values

HEX#2A7C9E
RGBrgb(42, 124, 158)
HSLhsl(198, 58%, 39%)
HSVhsv(198, 73%, 62%)
CMYKcmyk(73.4%, 21.5%, 0%, 38%)
CIE-LABlab(48.73, -12.88, -25.32)
CIE-LCHlch(48.73, 28.41, 243.05°)
OKLaboklab(55.25% -0.0602 -0.0711)
OKLCHoklch(55.25% 0.093 229.7)
XYZxyz(14.3316, 17.3745, 34.9394)
Luminance0.1738 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7C9E #9E4C2A
analogous
#2A9E86 #2A7C9E #2A429E
triadic
#2A7C9E #9E2A7C #7C9E2A
tetradic
#2A7C9E #862A9E #9E4C2A #429E2A
square
#2A7C9E #862A9E #9E4C2A #429E2A
split-complementary
#2A7C9E #9E2A42 #9E862A
monochromatic
#10303D #1D566E #2A7C9E #3AA0CB #6BB8D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A7C9E#FFFFFF#000000##FFFFFF
##2A7C9E1.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)
#6B7AA0
Deuteranopia (green-blind)
#5B6F9E
Tritanopia (blue-blind)
#008587
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a7c9e;
/* rgb */ color: rgb(42, 124, 158);
/* oklch */ color: oklch(55.3% 0.093 229.7);
Tailwind
colors: {
  custom: {
    50: '#74a2ba',
    500: '#2a7c9e',
    950: '#000000',
  },
}
SCSS
$custom: #2a7c9e;
$custom-light: #74a2ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7c9e",
  "rgb": {
    "r": 42,
    "g": 124,
    "b": 158
  },
  "hsl": {
    "h": 197.586,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.5525,
    "c": 0.09316,
    "h": 229.7
  },
  "luminance": 0.17376
}

Semantic roles & 50–950 ramp

primary
#2A7C9E
secondary
#BE8066
accent
#7447E1
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090F11
muted
#7B7E80

Preview Lab

Preview with #2A7C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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