#2F6174#2F6174

#2F6174 is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 46.6% C 0.062 H 225.4°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#2F6174
RGBrgb(47, 97, 116)
HSLhsl(197, 42%, 32%)
HSVhsv(197, 59%, 45%)
CMYKcmyk(59.5%, 16.4%, 0%, 54.5%)
CIE-LABlab(38.58, -10.78, -15.83)
CIE-LCHlch(38.58, 19.15, 235.73°)
OKLaboklab(46.61% -0.0435 -0.044)
OKLCHoklch(46.61% 0.062 225.4)
XYZxyz(8.5982, 10.4139, 18.0766)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6174 #74422F
analogous
#2F7465 #2F6174 #2F3F74
triadic
#2F6174 #742F61 #61742F
tetradic
#2F6174 #652F74 #74422F #3F742F
square
#2F6174 #652F74 #74422F #3F742F
split-complementary
#2F6174 #742F3F #74652F
monochromatic
#0C181D #1D3D48 #2F6174 #4185A0 #5FA4BE

Accessibility & contrast

On white

6.81
#2F6174 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2F6174 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6174
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6174#FFFFFF#000000##FFFFFF
##2F61741.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575F75
Deuteranopia (green-blind)
#4D5874
Tritanopia (blue-blind)
#006767
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f6174;
/* rgb */ color: rgb(47, 97, 116);
/* oklch */ color: oklch(46.6% 0.062 225.4);
Tailwind
colors: {
  custom: {
    50: '#6e8e9c',
    500: '#2f6174',
    950: '#000000',
  },
}
SCSS
$custom: #2f6174;
$custom-light: #6e8e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6174",
  "rgb": {
    "r": 47,
    "g": 97,
    "b": 116
  },
  "hsl": {
    "h": 196.522,
    "s": 42.331,
    "l": 31.961
  },
  "oklch": {
    "l": 0.46609,
    "c": 0.06185,
    "h": 225.4
  },
  "luminance": 0.10415
}

Semantic roles & 50–950 ramp

primary
#2F6174
secondary
#A56E5A
accent
#7856D2
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#080C0E
muted
#7B7D7E

Preview Lab

Preview with #2F6174

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

Preview Lab → · Contrast checker → · Palette generator →

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