#2A7EA0#2A7EA0

#2A7EA0 is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 55.8% C 0.094 H 229.2°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#2A7EA0
RGBrgb(42, 126, 160)
HSLhsl(197, 58%, 40%)
HSVhsv(197, 74%, 63%)
CMYKcmyk(73.8%, 21.2%, 0%, 37.3%)
CIE-LABlab(49.44, -13.31, -25.40)
CIE-LCHlch(49.44, 28.67, 242.34°)
OKLaboklab(55.84% -0.0615 -0.0713)
OKLCHoklch(55.84% 0.094 229.2)
XYZxyz(14.7583, 17.9503, 35.9378)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7EA0 #A04C2A
analogous
#2AA087 #2A7EA0 #2A43A0
triadic
#2A7EA0 #A02A7E #7EA02A
tetradic
#2A7EA0 #872AA0 #A04C2A #43A02A
square
#2A7EA0 #872AA0 #A04C2A #43A02A
split-complementary
#2A7EA0 #A02A43 #A0872A
monochromatic
#11323F #1D5870 #2A7EA0 #3CA2CC #6CB9D8

Accessibility & contrast

On white

4.57
#2A7EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#2A7EA0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7EA0
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7EA0#FFFFFF#000000##000000
##2A7EA01.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7CA2
Deuteranopia (green-blind)
#5C70A0
Tritanopia (blue-blind)
#008889
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2a7ea0;
/* rgb */ color: rgb(42, 126, 160);
/* oklch */ color: oklch(55.8% 0.094 229.2);
Tailwind
colors: {
  custom: {
    50: '#74a3bc',
    500: '#2a7ea0',
    950: '#000000',
  },
}
SCSS
$custom: #2a7ea0;
$custom-light: #74a3bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7ea0",
  "rgb": {
    "r": 42,
    "g": 126,
    "b": 160
  },
  "hsl": {
    "h": 197.288,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.55843,
    "c": 0.09415,
    "h": 229.2
  },
  "luminance": 0.17952
}

Semantic roles & 50–950 ramp

primary
#2A7EA0
secondary
#BF8067
accent
#7346E2
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #2A7EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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