#2A7F91#2A7F91

#2A7F91 is a mid, moderate cyan. Relative luminance 0.177; OKLCH L 55.4% C 0.083 H 214.7°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2A7F91
RGBrgb(42, 127, 145)
HSLhsl(190, 55%, 37%)
HSVhsv(190, 71%, 57%)
CMYKcmyk(71%, 12.4%, 0%, 43.1%)
CIE-LABlab(49.15, -18.95, -17.07)
CIE-LCHlch(49.15, 25.50, 222.01°)
OKLaboklab(55.41% -0.0686 -0.0475)
OKLCHoklch(55.41% 0.083 214.7)
XYZxyz(13.6529, 17.7138, 29.4821)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7F91 #913C2A
analogous
#2A9170 #2A7F91 #2A4C91
triadic
#2A7F91 #912A7F #7F912A
tetradic
#2A7F91 #702A91 #913C2A #4C912A
square
#2A7F91 #702A91 #913C2A #4C912A
split-complementary
#2A7F91 #912A4C #91702A
monochromatic
#0F2C32 #1C5562 #2A7F91 #38A9C0 #63BFD2

Accessibility & contrast

On white

4.62
#2A7F91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#2A7F91 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7F91
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7F91#FFFFFF#000000##FFFFFF
##2A7F911.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#727B92
Deuteranopia (green-blind)
#647091
Tritanopia (blue-blind)
#008685
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2a7f91;
/* rgb */ color: rgb(42, 127, 145);
/* oklch */ color: oklch(55.4% 0.083 214.7);
Tailwind
colors: {
  custom: {
    50: '#72a4b1',
    500: '#2a7f91',
    950: '#000000',
  },
}
SCSS
$custom: #2a7f91;
$custom-light: #72a4b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7f91",
  "rgb": {
    "r": 42,
    "g": 127,
    "b": 145
  },
  "hsl": {
    "h": 190.485,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.55412,
    "c": 0.08343,
    "h": 214.7
  },
  "luminance": 0.17715
}

Semantic roles & 50–950 ramp

primary
#2A7F91
secondary
#B86E5F
accent
#6349DE
background
#F7FAFA
surface
#EDF4F5
border
#C8CECF
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #2A7F91

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

Preview Lab → · Contrast checker → · Palette generator →

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