#2F7FA1#2F7FA1

#2F7FA1 is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.3% C 0.092 H 229.9°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2F7FA1
RGBrgb(47, 127, 161)
HSLhsl(198, 55%, 41%)
HSVhsv(198, 71%, 63%)
CMYKcmyk(70.8%, 21.1%, 0%, 36.9%)
CIE-LABlab(49.92, -12.80, -25.21)
CIE-LCHlch(49.92, 28.28, 243.08°)
OKLaboklab(56.29% -0.0595 -0.0707)
OKLCHoklch(56.29% 0.092 229.9)
XYZxyz(15.1921, 18.3546, 36.4534)
Luminance0.1836 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7FA1 #A1512F
analogous
#2FA18A #2F7FA1 #2F46A1
triadic
#2F7FA1 #A12F7F #7FA12F
tetradic
#2F7FA1 #8A2FA1 #A1512F #46A12F
square
#2F7FA1 #8A2FA1 #A1512F #46A12F
split-complementary
#2F7FA1 #A12F46 #A18A2F
monochromatic
#133442 #215A72 #2F7FA1 #45A1C9 #74B9D6

Accessibility & contrast

On white

4.50
#2F7FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#2F7FA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7FA1
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7FA1#FFFFFF#000000##000000
##2F7FA11.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7DA3
Deuteranopia (green-blind)
#5E72A1
Tritanopia (blue-blind)
#00888A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f7fa1;
/* rgb */ color: rgb(47, 127, 161);
/* oklch */ color: oklch(56.3% 0.092 229.9);
Tailwind
colors: {
  custom: {
    50: '#76a4bd',
    500: '#2f7fa1',
    950: '#000000',
  },
}
SCSS
$custom: #2f7fa1;
$custom-light: #76a4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7fa1",
  "rgb": {
    "r": 47,
    "g": 127,
    "b": 161
  },
  "hsl": {
    "h": 197.895,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.56285,
    "c": 0.09242,
    "h": 229.9
  },
  "luminance": 0.18356
}

Semantic roles & 50–950 ramp

primary
#2F7FA1
secondary
#BE866E
accent
#764ADE
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2F7FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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