#2F7FA4#2F7FA4

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

Color values

HEX#2F7FA4
RGBrgb(47, 127, 164)
HSLhsl(199, 55%, 41%)
HSVhsv(199, 71%, 64%)
CMYKcmyk(71.3%, 22.6%, 0%, 35.7%)
CIE-LABlab(50.05, -11.77, -26.76)
CIE-LCHlch(50.05, 29.23, 246.26°)
OKLaboklab(56.43% -0.0584 -0.0751)
OKLCHoklch(56.43% 0.095 232.2)
XYZxyz(15.4598, 18.4617, 37.8634)
Luminance0.1846 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7FA4 #A4542F
analogous
#2FA48F #2F7FA4 #2F45A4
triadic
#2F7FA4 #A42F7F #7FA42F
tetradic
#2F7FA4 #8F2FA4 #A4542F #45A42F
square
#2F7FA4 #8F2FA4 #A4542F #45A42F
split-complementary
#2F7FA4 #A42F45 #A48F2F
monochromatic
#143545 #215A74 #2F7FA4 #46A0CA #76B9D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F7FA4#FFFFFF#000000##000000
##2F7FA41.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)
#6D7EA6
Deuteranopia (green-blind)
#5D72A3
Tritanopia (blue-blind)
#00898B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f7fa4;
/* rgb */ color: rgb(47, 127, 164);
/* oklch */ color: oklch(56.4% 0.095 232.2);
Tailwind
colors: {
  custom: {
    50: '#77a4bf',
    500: '#2f7fa4',
    950: '#000000',
  },
}
SCSS
$custom: #2f7fa4;
$custom-light: #77a4bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7fa4",
  "rgb": {
    "r": 47,
    "g": 127,
    "b": 164
  },
  "hsl": {
    "h": 198.974,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.56429,
    "c": 0.09517,
    "h": 232.2
  },
  "luminance": 0.18463
}

Semantic roles & 50–950 ramp

primary
#2F7FA4
secondary
#C0896F
accent
#7849DF
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2F7FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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