#2F7FA7#2F7FA7

#2F7FA7 is a mid, moderate cyan. Relative luminance 0.186; OKLCH L 56.6% C 0.098 H 234.2°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2F7FA7
RGBrgb(47, 127, 167)
HSLhsl(200, 56%, 42%)
HSVhsv(200, 72%, 65%)
CMYKcmyk(71.9%, 24%, 0%, 34.5%)
CIE-LABlab(50.18, -10.73, -28.30)
CIE-LCHlch(50.18, 30.27, 249.24°)
OKLaboklab(56.58% -0.0573 -0.0796)
OKLCHoklch(56.58% 0.098 234.2)
XYZxyz(15.7340, 18.5713, 39.3071)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7FA7 #A7572F
analogous
#2FA793 #2F7FA7 #2F43A7
triadic
#2F7FA7 #A72F7F #7FA72F
tetradic
#2F7FA7 #932FA7 #A7572F #43A72F
square
#2F7FA7 #932FA7 #A7572F #43A72F
split-complementary
#2F7FA7 #A72F43 #A7932F
monochromatic
#143647 #225B77 #2F7FA7 #48A0CB #78B8D9

Accessibility & contrast

On white

4.45
#2F7FA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#2F7FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7FA7
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7FA7#FFFFFF#000000##000000
##2F7FA71.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7EA9
Deuteranopia (green-blind)
#5B72A6
Tritanopia (blue-blind)
#008A8D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f7fa7;
/* rgb */ color: rgb(47, 127, 167);
/* oklch */ color: oklch(56.6% 0.098 234.2);
Tailwind
colors: {
  custom: {
    50: '#77a4c1',
    500: '#2f7fa7',
    950: '#000000',
  },
}
SCSS
$custom: #2f7fa7;
$custom-light: #77a4c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7fa7",
  "rgb": {
    "r": 47,
    "g": 127,
    "b": 167
  },
  "hsl": {
    "h": 200,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.56576,
    "c": 0.09807,
    "h": 234.2
  },
  "luminance": 0.18573
}

Semantic roles & 50–950 ramp

primary
#2F7FA7
secondary
#C18C71
accent
#7B48DF
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2F7FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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