#2F7FA2#2F7FA2

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

Color values

HEX#2F7FA2
RGBrgb(47, 127, 162)
HSLhsl(198, 55%, 41%)
HSVhsv(198, 71%, 64%)
CMYKcmyk(71%, 21.6%, 0%, 36.5%)
CIE-LABlab(49.97, -12.46, -25.73)
CIE-LCHlch(49.97, 28.59, 244.16°)
OKLaboklab(56.33% -0.0591 -0.0722)
OKLCHoklch(56.33% 0.093 230.7)
XYZxyz(15.2806, 18.3900, 36.9197)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7FA2 #A2522F
analogous
#2FA28B #2F7FA2 #2F45A2
triadic
#2F7FA2 #A22F7F #7FA22F
tetradic
#2F7FA2 #8B2FA2 #A2522F #45A22F
square
#2F7FA2 #8B2FA2 #A2522F #45A22F
split-complementary
#2F7FA2 #A22F45 #A28B2F
monochromatic
#133543 #215A73 #2F7FA2 #45A1C9 #75B9D7

Accessibility & contrast

On white

4.49
#2F7FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#2F7FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7FA2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7FA2#FFFFFF#000000##000000
##2F7FA21.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7DA4
Deuteranopia (green-blind)
#5E72A1
Tritanopia (blue-blind)
#00898B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f7fa2;
/* rgb */ color: rgb(47, 127, 162);
/* oklch */ color: oklch(56.3% 0.093 230.7);
Tailwind
colors: {
  custom: {
    50: '#76a4bd',
    500: '#2f7fa2',
    950: '#000000',
  },
}
SCSS
$custom: #2f7fa2;
$custom-light: #76a4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7fa2",
  "rgb": {
    "r": 47,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 198.261,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.56332,
    "c": 0.09332,
    "h": 230.7
  },
  "luminance": 0.18392
}

Semantic roles & 50–950 ramp

primary
#2F7FA2
secondary
#BF876E
accent
#7749DE
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2F7FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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