#2F7EA0#2F7EA0

#2F7EA0 is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.0% C 0.092 H 230.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2F7EA0
RGBrgb(47, 126, 160)
HSLhsl(198, 55%, 41%)
HSVhsv(198, 71%, 63%)
CMYKcmyk(70.6%, 21.2%, 0%, 37.3%)
CIE-LABlab(49.57, -12.58, -25.18)
CIE-LCHlch(49.57, 28.14, 243.45°)
OKLaboklab(55.99% -0.0588 -0.0706)
OKLCHoklch(55.99% 0.092 230.2)
XYZxyz(14.9758, 18.0624, 35.9480)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7EA0 #A0512F
analogous
#2FA089 #2F7EA0 #2F46A0
triadic
#2F7EA0 #A02F7E #7EA02F
tetradic
#2F7EA0 #892FA0 #A0512F #46A02F
square
#2F7EA0 #892FA0 #A0512F #46A02F
split-complementary
#2F7EA0 #A02F46 #A0892F
monochromatic
#133341 #215971 #2F7EA0 #44A0C8 #73B8D6

Accessibility & contrast

On white

4.55
#2F7EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#2F7EA0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7EA0
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7EA0#FFFFFF#000000##000000
##2F7EA01.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7CA2
Deuteranopia (green-blind)
#5D71A0
Tritanopia (blue-blind)
#008789
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f7ea0;
/* rgb */ color: rgb(47, 126, 160);
/* oklch */ color: oklch(56.0% 0.092 230.2);
Tailwind
colors: {
  custom: {
    50: '#76a3bc',
    500: '#2f7ea0',
    950: '#000000',
  },
}
SCSS
$custom: #2f7ea0;
$custom-light: #76a3bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7ea0",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 160
  },
  "hsl": {
    "h": 198.053,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.5599,
    "c": 0.0919,
    "h": 230.2
  },
  "luminance": 0.18064
}

Semantic roles & 50–950 ramp

primary
#2F7EA0
secondary
#BE856D
accent
#764ADE
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2F7EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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