#2F7FA3#2F7FA3

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

Color values

HEX#2F7FA3
RGBrgb(47, 127, 163)
HSLhsl(199, 55%, 41%)
HSVhsv(199, 71%, 64%)
CMYKcmyk(71.2%, 22.1%, 0%, 36.1%)
CIE-LABlab(50.01, -12.11, -26.25)
CIE-LCHlch(50.01, 28.91, 245.22°)
OKLaboklab(56.38% -0.0588 -0.0737)
OKLCHoklch(56.38% 0.094 231.4)
XYZxyz(15.3699, 18.4257, 37.3897)
Luminance0.1843 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7FA3 #A3532F
analogous
#2FA38D #2F7FA3 #2F45A3
triadic
#2F7FA3 #A32F7F #7FA32F
tetradic
#2F7FA3 #8D2FA3 #A3532F #45A32F
square
#2F7FA3 #8D2FA3 #A3532F #45A32F
split-complementary
#2F7FA3 #A32F45 #A38D2F
monochromatic
#143544 #215A73 #2F7FA3 #46A1CA #75B9D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F7FA3#FFFFFF#000000##000000
##2F7FA31.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)
#6D7DA5
Deuteranopia (green-blind)
#5D72A2
Tritanopia (blue-blind)
#00898B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f7fa3;
/* rgb */ color: rgb(47, 127, 163);
/* oklch */ color: oklch(56.4% 0.094 231.4);
Tailwind
colors: {
  custom: {
    50: '#77a4be',
    500: '#2f7fa3',
    950: '#000000',
  },
}
SCSS
$custom: #2f7fa3;
$custom-light: #77a4be;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7fa3",
  "rgb": {
    "r": 47,
    "g": 127,
    "b": 163
  },
  "hsl": {
    "h": 198.621,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.5638,
    "c": 0.09423,
    "h": 231.4
  },
  "luminance": 0.18427
}

Semantic roles & 50–950 ramp

primary
#2F7FA3
secondary
#BF886F
accent
#7849DF
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2F7FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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