#2A7FA6#2A7FA6

#2A7FA6 is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.4% C 0.099 H 232.6°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2A7FA6
RGBrgb(42, 127, 166)
HSLhsl(199, 60%, 41%)
HSVhsv(199, 75%, 65%)
CMYKcmyk(74.7%, 23.5%, 0%, 34.9%)
CIE-LABlab(50.00, -11.78, -28.01)
CIE-LCHlch(50.00, 30.38, 247.19°)
OKLaboklab(56.38% -0.0603 -0.0788)
OKLCHoklch(56.38% 0.099 232.6)
XYZxyz(15.4244, 18.4224, 38.8120)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7FA6 #A6512A
analogous
#2AA68F #2A7FA6 #2A41A6
triadic
#2A7FA6 #A62A7F #7FA62A
tetradic
#2A7FA6 #8F2AA6 #A6512A #41A62A
square
#2A7FA6 #8F2AA6 #A6512A #41A62A
split-complementary
#2A7FA6 #A62A41 #A68F2A
monochromatic
#113444 #1E5A75 #2A7FA6 #3FA1CE #70B9DB

Accessibility & contrast

On white

4.48
#2A7FA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#2A7FA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7FA6
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7FA6#FFFFFF#000000##000000
##2A7FA61.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7EA8
Deuteranopia (green-blind)
#5B72A5
Tritanopia (blue-blind)
#00898C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a7fa6;
/* rgb */ color: rgb(42, 127, 166);
/* oklch */ color: oklch(56.4% 0.099 232.6);
Tailwind
colors: {
  custom: {
    50: '#75a4c0',
    500: '#2a7fa6',
    950: '#000000',
  },
}
SCSS
$custom: #2a7fa6;
$custom-light: #75a4c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7fa6",
  "rgb": {
    "r": 42,
    "g": 127,
    "b": 166
  },
  "hsl": {
    "h": 198.871,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.56382,
    "c": 0.09921,
    "h": 232.6
  },
  "luminance": 0.18424
}

Semantic roles & 50–950 ramp

primary
#2A7FA6
secondary
#C2866A
accent
#7745E3
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2A7FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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