#2A7FA7#2A7FA7

#2A7FA7 is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.4% C 0.100 H 233.2°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2A7FA7
RGBrgb(42, 127, 167)
HSLhsl(199, 60%, 41%)
HSVhsv(199, 75%, 65%)
CMYKcmyk(74.9%, 24%, 0%, 34.5%)
CIE-LABlab(50.05, -11.42, -28.52)
CIE-LCHlch(50.05, 30.72, 248.17°)
OKLaboklab(56.43% -0.0599 -0.0803)
OKLCHoklch(56.43% 0.1 233.2)
XYZxyz(15.5165, 18.4592, 39.2969)
Luminance0.1846 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7FA7 #A7522A
analogous
#2AA790 #2A7FA7 #2A40A7
triadic
#2A7FA7 #A72A7F #7FA72A
tetradic
#2A7FA7 #902AA7 #A7522A #40A72A
square
#2A7FA7 #902AA7 #A7522A #40A72A
split-complementary
#2A7FA7 #A72A40 #A7902A
monochromatic
#113545 #1E5A76 #2A7FA7 #3FA1CF #70B9DB

Accessibility & contrast

On white

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

On black

4.69
#2A7FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7FA7
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7FA7#FFFFFF#000000##000000
##2A7FA71.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7EA9
Deuteranopia (green-blind)
#5A72A6
Tritanopia (blue-blind)
#008A8C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a7fa7;
/* rgb */ color: rgb(42, 127, 167);
/* oklch */ color: oklch(56.4% 0.100 233.2);
Tailwind
colors: {
  custom: {
    50: '#75a4c1',
    500: '#2a7fa7',
    950: '#000000',
  },
}
SCSS
$custom: #2a7fa7;
$custom-light: #75a4c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7fa7",
  "rgb": {
    "r": 42,
    "g": 127,
    "b": 167
  },
  "hsl": {
    "h": 199.2,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.56432,
    "c": 0.10017,
    "h": 233.2
  },
  "luminance": 0.18461
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A7FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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