#2F7FA5#2F7FA5

#2F7FA5 is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.5% C 0.096 H 232.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2F7FA5
RGBrgb(47, 127, 165)
HSLhsl(199, 56%, 42%)
HSVhsv(199, 72%, 65%)
CMYKcmyk(71.5%, 23%, 0%, 35.3%)
CIE-LABlab(50.09, -11.42, -27.28)
CIE-LCHlch(50.09, 29.57, 247.28°)
OKLaboklab(56.48% -0.058 -0.0766)
OKLCHoklch(56.48% 0.096 232.9)
XYZxyz(15.5505, 18.4979, 38.3409)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7FA5 #A5552F
analogous
#2FA590 #2F7FA5 #2F44A5
triadic
#2F7FA5 #A52F7F #7FA52F
tetradic
#2F7FA5 #902FA5 #A5552F #44A52F
square
#2F7FA5 #902FA5 #A5552F #44A52F
split-complementary
#2F7FA5 #A52F44 #A5902F
monochromatic
#143646 #215A75 #2F7FA5 #47A0CB #76B9D8

Accessibility & contrast

On white

4.47
#2F7FA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#2F7FA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7FA5
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7FA5#FFFFFF#000000##000000
##2F7FA51.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f7fa5;
/* rgb */ color: rgb(47, 127, 165);
/* oklch */ color: oklch(56.5% 0.096 232.9);
Tailwind
colors: {
  custom: {
    50: '#77a4c0',
    500: '#2f7fa5',
    950: '#000000',
  },
}
SCSS
$custom: #2f7fa5;
$custom-light: #77a4c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7fa5",
  "rgb": {
    "r": 47,
    "g": 127,
    "b": 165
  },
  "hsl": {
    "h": 199.322,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.56478,
    "c": 0.09612,
    "h": 232.9
  },
  "luminance": 0.185
}

Semantic roles & 50–950 ramp

primary
#2F7FA5
secondary
#C08A70
accent
#7949DF
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2F7FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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