#2A7F95#2A7F95

#2A7F95 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 55.6% C 0.086 H 218.6°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2A7F95
RGBrgb(42, 127, 149)
HSLhsl(192, 56%, 37%)
HSVhsv(192, 72%, 58%)
CMYKcmyk(71.8%, 14.8%, 0%, 41.6%)
CIE-LABlab(49.30, -17.62, -19.18)
CIE-LCHlch(49.30, 26.04, 227.42°)
OKLaboklab(55.59% -0.0669 -0.0535)
OKLCHoklch(55.59% 0.086 218.6)
XYZxyz(13.9668, 17.8393, 31.1352)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7F95 #95402A
analogous
#2A9575 #2A7F95 #2A4A95
triadic
#2A7F95 #952A7F #7F952A
tetradic
#2A7F95 #752A95 #95402A #4A952A
square
#2A7F95 #752A95 #95402A #4A952A
split-complementary
#2A7F95 #952A4A #95752A
monochromatic
#0F2E36 #1D5665 #2A7F95 #37A8C5 #66BDD4

Accessibility & contrast

On white

4.60
#2A7F95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#2A7F95 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7F95
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7F95#FFFFFF#000000##FFFFFF
##2A7F951.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#717B96
Deuteranopia (green-blind)
#627095
Tritanopia (blue-blind)
#008686
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2a7f95;
/* rgb */ color: rgb(42, 127, 149);
/* oklch */ color: oklch(55.6% 0.086 218.6);
Tailwind
colors: {
  custom: {
    50: '#73a4b4',
    500: '#2a7f95',
    950: '#000000',
  },
}
SCSS
$custom: #2a7f95;
$custom-light: #73a4b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7f95",
  "rgb": {
    "r": 42,
    "g": 127,
    "b": 149
  },
  "hsl": {
    "h": 192.336,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.55586,
    "c": 0.08566,
    "h": 218.6
  },
  "luminance": 0.17841
}

Semantic roles & 50–950 ramp

primary
#2A7F95
secondary
#BA7361
accent
#6748DF
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #2A7F95

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

Preview Lab → · Contrast checker → · Palette generator →

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