#2A7FA0#2A7FA0

#2A7FA0 is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 56.1% C 0.094 H 228.2°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2A7FA0
RGBrgb(42, 127, 160)
HSLhsl(197, 58%, 40%)
HSVhsv(197, 74%, 63%)
CMYKcmyk(73.8%, 20.6%, 0%, 37.3%)
CIE-LABlab(49.75, -13.87, -24.92)
CIE-LCHlch(49.75, 28.52, 240.90°)
OKLaboklab(56.09% -0.0625 -0.0699)
OKLCHoklch(56.09% 0.094 228.2)
XYZxyz(14.8868, 18.2073, 35.9807)
Luminance0.1821 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7FA0 #A04B2A
analogous
#2AA086 #2A7FA0 #2A44A0
triadic
#2A7FA0 #A02A7F #7FA02A
tetradic
#2A7FA0 #862AA0 #A04B2A #44A02A
square
#2A7FA0 #862AA0 #A04B2A #44A02A
split-complementary
#2A7FA0 #A02A44 #A0862A
monochromatic
#11323F #1D5970 #2A7FA0 #3CA3CC #6CBAD8

Accessibility & contrast

On white

4.52
#2A7FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#2A7FA0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7FA0
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7FA0#FFFFFF#000000##000000
##2A7FA01.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7DA2
Deuteranopia (green-blind)
#5E71A0
Tritanopia (blue-blind)
#00888A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2a7fa0;
/* rgb */ color: rgb(42, 127, 160);
/* oklch */ color: oklch(56.1% 0.094 228.2);
Tailwind
colors: {
  custom: {
    50: '#74a4bc',
    500: '#2a7fa0',
    950: '#000000',
  },
}
SCSS
$custom: #2a7fa0;
$custom-light: #74a4bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7fa0",
  "rgb": {
    "r": 42,
    "g": 127,
    "b": 160
  },
  "hsl": {
    "h": 196.78,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.56091,
    "c": 0.09379,
    "h": 228.2
  },
  "luminance": 0.18209
}

Semantic roles & 50–950 ramp

primary
#2A7FA0
secondary
#BF7F67
accent
#7246E2
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #2A7FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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