#2F8197#2F8197

#2F8197 is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.3% C 0.084 H 219.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2F8197
RGBrgb(47, 129, 151)
HSLhsl(193, 53%, 39%)
HSVhsv(193, 69%, 59%)
CMYKcmyk(68.9%, 14.6%, 0%, 40.8%)
CIE-LABlab(50.14, -17.28, -19.05)
CIE-LCHlch(50.14, 25.72, 227.79°)
OKLaboklab(56.33% -0.0656 -0.0531)
OKLCHoklch(56.33% 0.084 219)
XYZxyz(14.6062, 18.5376, 32.0805)
Luminance0.1854 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8197 #97452F
analogous
#2F9779 #2F8197 #2F4D97
triadic
#2F8197 #972F81 #81972F
tetradic
#2F8197 #792F97 #97452F #4D972F
square
#2F8197 #792F97 #97452F #4D972F
split-complementary
#2F8197 #972F4D #97792F
monochromatic
#12313A #205968 #2F8197 #40A8C3 #6EBDD2

Accessibility & contrast

On white

4.46
#2F8197 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#2F8197 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8197
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8197#FFFFFF#000000##000000
##2F81971.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#737D98
Deuteranopia (green-blind)
#657397
Tritanopia (blue-blind)
#008888
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f8197;
/* rgb */ color: rgb(47, 129, 151);
/* oklch */ color: oklch(56.3% 0.084 219.0);
Tailwind
colors: {
  custom: {
    50: '#75a5b5',
    500: '#2f8197',
    950: '#000000',
  },
}
SCSS
$custom: #2f8197;
$custom-light: #75a5b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8197",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 151
  },
  "hsl": {
    "h": 192.692,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.56326,
    "c": 0.08436,
    "h": 219
  },
  "luminance": 0.18539
}

Semantic roles & 50–950 ramp

primary
#2F8197
secondary
#B97A68
accent
#6A4CDC
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #2F8197

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

Preview Lab → · Contrast checker → · Palette generator →

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