#2A7D9E#2A7D9E

#2A7D9E is a mid, moderate cyan. Relative luminance 0.176; OKLCH L 55.5% C 0.093 H 228.7°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2A7D9E
RGBrgb(42, 125, 158)
HSLhsl(197, 58%, 39%)
HSVhsv(197, 73%, 62%)
CMYKcmyk(73.4%, 20.9%, 0%, 38%)
CIE-LABlab(49.04, -13.44, -24.84)
CIE-LCHlch(49.04, 28.24, 241.59°)
OKLaboklab(55.5% -0.0612 -0.0697)
OKLCHoklch(55.5% 0.093 228.7)
XYZxyz(14.4575, 17.6264, 34.9814)
Luminance0.1763 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7D9E #9E4B2A
analogous
#2A9E85 #2A7D9E #2A439E
triadic
#2A7D9E #9E2A7D #7D9E2A
tetradic
#2A7D9E #852A9E #9E4B2A #439E2A
square
#2A7D9E #852A9E #9E4B2A #439E2A
split-complementary
#2A7D9E #9E2A43 #9E852A
monochromatic
#10313D #1D576E #2A7D9E #3AA2CB #6BB9D8

Accessibility & contrast

On white

4.64
#2A7D9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#2A7D9E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7D9E
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7D9E#FFFFFF#000000##FFFFFF
##2A7D9E1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7BA0
Deuteranopia (green-blind)
#5C709E
Tritanopia (blue-blind)
#008688
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2a7d9e;
/* rgb */ color: rgb(42, 125, 158);
/* oklch */ color: oklch(55.5% 0.093 228.7);
Tailwind
colors: {
  custom: {
    50: '#74a2ba',
    500: '#2a7d9e',
    950: '#000000',
  },
}
SCSS
$custom: #2a7d9e;
$custom-light: #74a2ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7d9e",
  "rgb": {
    "r": 42,
    "g": 125,
    "b": 158
  },
  "hsl": {
    "h": 197.069,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.55498,
    "c": 0.09277,
    "h": 228.7
  },
  "luminance": 0.17628
}

Semantic roles & 50–950 ramp

primary
#2A7D9E
secondary
#BE7F66
accent
#7347E1
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #2A7D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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