#2F7E9F#2F7E9F

#2F7E9F is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 55.9% C 0.091 H 229.4°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2F7E9F
RGBrgb(47, 126, 159)
HSLhsl(198, 54%, 40%)
HSVhsv(198, 70%, 62%)
CMYKcmyk(70.4%, 20.8%, 0%, 37.6%)
CIE-LABlab(49.53, -12.92, -24.66)
CIE-LCHlch(49.53, 27.84, 242.34°)
OKLaboklab(55.94% -0.0592 -0.0691)
OKLCHoklch(55.94% 0.091 229.4)
XYZxyz(14.8886, 18.0276, 35.4892)
Luminance0.1803 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E9F #9F502F
analogous
#2F9F88 #2F7E9F #2F469F
triadic
#2F7E9F #9F2F7E #7E9F2F
tetradic
#2F7E9F #882F9F #9F502F #469F2F
square
#2F7E9F #882F9F #9F502F #469F2F
split-complementary
#2F7E9F #9F2F46 #9F882F
monochromatic
#133341 #215970 #2F7E9F #44A1C8 #73B8D6

Accessibility & contrast

On white

4.56
#2F7E9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F7E9F#FFFFFF#000000##000000
##2F7E9F1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f7e9f;
/* rgb */ color: rgb(47, 126, 159);
/* oklch */ color: oklch(55.9% 0.091 229.4);
Tailwind
colors: {
  custom: {
    50: '#76a3bb',
    500: '#2f7e9f',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e9f;
$custom-light: #76a3bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e9f",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 159
  },
  "hsl": {
    "h": 197.679,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.55942,
    "c": 0.09101,
    "h": 229.4
  },
  "luminance": 0.18029
}

Semantic roles & 50–950 ramp

primary
#2F7E9F
secondary
#BD846D
accent
#764ADE
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #2F7E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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