#2F7C98#2F7C98

#2F7C98 is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.1% C 0.086 H 225.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2F7C98
RGBrgb(47, 124, 152)
HSLhsl(196, 53%, 39%)
HSVhsv(196, 69%, 60%)
CMYKcmyk(69.1%, 18.4%, 0%, 40.4%)
CIE-LABlab(48.62, -14.18, -21.97)
CIE-LCHlch(48.62, 26.15, 237.16°)
OKLaboklab(55.12% -0.0598 -0.0614)
OKLCHoklch(55.12% 0.086 225.8)
XYZxyz(14.0452, 17.2851, 32.2958)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7C98 #984B2F
analogous
#2F9880 #2F7C98 #2F4898
triadic
#2F7C98 #982F7C #7C982F
tetradic
#2F7C98 #802F98 #984B2F #48982F
square
#2F7C98 #802F98 #984B2F #48982F
split-complementary
#2F7C98 #982F48 #98802F
monochromatic
#12303B #215669 #2F7C98 #40A1C4 #6FB8D2

Accessibility & contrast

On white

4.71
#2F7C98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#2F7C98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7C98
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7C98#FFFFFF#000000##FFFFFF
##2F7C981.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D7999
Deuteranopia (green-blind)
#5E6F98
Tritanopia (blue-blind)
#008485
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f7c98;
/* rgb */ color: rgb(47, 124, 152);
/* oklch */ color: oklch(55.1% 0.086 225.8);
Tailwind
colors: {
  custom: {
    50: '#75a2b6',
    500: '#2f7c98',
    950: '#000000',
  },
}
SCSS
$custom: #2f7c98;
$custom-light: #75a2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7c98",
  "rgb": {
    "r": 47,
    "g": 124,
    "b": 152
  },
  "hsl": {
    "h": 196,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.55117,
    "c": 0.08572,
    "h": 225.8
  },
  "luminance": 0.17287
}

Semantic roles & 50–950 ramp

primary
#2F7C98
secondary
#BA7F69
accent
#724CDC
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090F11
muted
#7B7E80

Preview Lab

Preview with #2F7C98

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

Preview Lab → · Contrast checker → · Palette generator →

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