#2F7E98#2F7E98

#2F7E98 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 55.6% C 0.085 H 223.5°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2F7E98
RGBrgb(47, 126, 152)
HSLhsl(195, 53%, 39%)
HSVhsv(195, 69%, 60%)
CMYKcmyk(69.1%, 17.1%, 0%, 40.4%)
CIE-LABlab(49.24, -15.30, -21.01)
CIE-LCHlch(49.24, 25.99, 233.94°)
OKLaboklab(55.62% -0.0619 -0.0587)
OKLCHoklch(55.62% 0.085 223.5)
XYZxyz(14.2983, 17.7915, 32.3802)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E98 #98492F
analogous
#2F987E #2F7E98 #2F4A98
triadic
#2F7E98 #982F7E #7E982F
tetradic
#2F7E98 #7E2F98 #98492F #4A982F
square
#2F7E98 #7E2F98 #98492F #4A982F
split-complementary
#2F7E98 #982F4A #987E2F
monochromatic
#12313B #215769 #2F7E98 #40A3C4 #6FBAD2

Accessibility & contrast

On white

4.61
#2F7E98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#2F7E98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7E98
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7E98#FFFFFF#000000##FFFFFF
##2F7E981.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F7B99
Deuteranopia (green-blind)
#617098
Tritanopia (blue-blind)
#008686
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f7e98;
/* rgb */ color: rgb(47, 126, 152);
/* oklch */ color: oklch(55.6% 0.085 223.5);
Tailwind
colors: {
  custom: {
    50: '#75a3b6',
    500: '#2f7e98',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e98;
$custom-light: #75a3b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e98",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 152
  },
  "hsl": {
    "h": 194.857,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.55618,
    "c": 0.08532,
    "h": 223.5
  },
  "luminance": 0.17793
}

Semantic roles & 50–950 ramp

primary
#2F7E98
secondary
#BA7D69
accent
#6F4CDC
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #2F7E98

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

Preview Lab → · Contrast checker → · Palette generator →

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