#2F7A9E#2F7A9E

#2F7A9E is a mid, moderate cyan. Relative luminance 0.170; OKLCH L 54.9% C 0.092 H 232.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2F7A9E
RGBrgb(47, 122, 158)
HSLhsl(199, 54%, 40%)
HSVhsv(199, 70%, 62%)
CMYKcmyk(70.3%, 22.8%, 0%, 38%)
CIE-LABlab(48.25, -10.99, -26.06)
CIE-LCHlch(48.25, 28.28, 247.12°)
OKLaboklab(54.91% -0.0554 -0.0732)
OKLCHoklch(54.91% 0.092 232.9)
XYZxyz(14.3009, 16.9904, 34.8669)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7A9E #9E532F
analogous
#2F9E8A #2F7A9E #2F439E
triadic
#2F7A9E #9E2F7A #7A9E2F
tetradic
#2F7A9E #8A2F9E #9E532F #439E2F
square
#2F7A9E #8A2F9E #9E532F #439E2F
split-complementary
#2F7A9E #9E2F43 #9E8A2F
monochromatic
#133140 #21566F #2F7A9E #439CC7 #72B5D5

Accessibility & contrast

On white

4.77
#2F7A9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#2F7A9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7A9E
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7A9E#FFFFFF#000000##FFFFFF
##2F7A9E1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6879A0
Deuteranopia (green-blind)
#596E9D
Tritanopia (blue-blind)
#008486
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f7a9e;
/* rgb */ color: rgb(47, 122, 158);
/* oklch */ color: oklch(54.9% 0.092 232.9);
Tailwind
colors: {
  custom: {
    50: '#75a0ba',
    500: '#2f7a9e',
    950: '#000000',
  },
}
SCSS
$custom: #2f7a9e;
$custom-light: #75a0ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7a9e",
  "rgb": {
    "r": 47,
    "g": 122,
    "b": 158
  },
  "hsl": {
    "h": 199.459,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.54906,
    "c": 0.09176,
    "h": 232.9
  },
  "luminance": 0.16992
}

Semantic roles & 50–950 ramp

primary
#2F7A9E
secondary
#BD866C
accent
#7A4ADE
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2F7A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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