#2A7C9D#2A7C9D

#2A7C9D is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.2% C 0.092 H 229.0°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2A7C9D
RGBrgb(42, 124, 157)
HSLhsl(197, 58%, 39%)
HSVhsv(197, 73%, 62%)
CMYKcmyk(73.2%, 21%, 0%, 38.4%)
CIE-LABlab(48.69, -13.22, -24.81)
CIE-LCHlch(48.69, 28.11, 241.94°)
OKLaboklab(55.2% -0.0606 -0.0696)
OKLCHoklch(55.2% 0.092 229)
XYZxyz(14.2458, 17.3402, 34.4880)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7C9D #9D4B2A
analogous
#2A9D85 #2A7C9D #2A439D
triadic
#2A7C9D #9D2A7C #7C9D2A
tetradic
#2A7C9D #852A9D #9D4B2A #439D2A
square
#2A7C9D #852A9D #9D4B2A #439D2A
split-complementary
#2A7C9D #9D2A43 #9D852A
monochromatic
#10303C #1D566D #2A7C9D #3AA1CA #6AB8D7

Accessibility & contrast

On white

4.70
#2A7C9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#2A7C9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7C9D
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7C9D#FFFFFF#000000##FFFFFF
##2A7C9D1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7A9F
Deuteranopia (green-blind)
#5B6F9D
Tritanopia (blue-blind)
#008587
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a7c9d;
/* rgb */ color: rgb(42, 124, 157);
/* oklch */ color: oklch(55.2% 0.092 229.0);
Tailwind
colors: {
  custom: {
    50: '#74a2ba',
    500: '#2a7c9d',
    950: '#000000',
  },
}
SCSS
$custom: #2a7c9d;
$custom-light: #74a2ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7c9d",
  "rgb": {
    "r": 42,
    "g": 124,
    "b": 157
  },
  "hsl": {
    "h": 197.217,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.55202,
    "c": 0.09227,
    "h": 229
  },
  "luminance": 0.17342
}

Semantic roles & 50–950 ramp

primary
#2A7C9D
secondary
#BE7F65
accent
#7347E1
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090F11
muted
#7B7E80

Preview Lab

Preview with #2A7C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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