#2F5D71#2F5D71

#2F5D71 is a mid, moderate cyan. Relative luminance 0.096; OKLCH L 45.4% C 0.060 H 228.5°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#2F5D71
RGBrgb(47, 93, 113)
HSLhsl(198, 41%, 31%)
HSVhsv(198, 58%, 44%)
CMYKcmyk(58.4%, 17.7%, 0%, 55.7%)
CIE-LABlab(37.16, -9.41, -16.15)
CIE-LCHlch(37.16, 18.69, 239.76°)
OKLaboklab(45.44% -0.0398 -0.0449)
OKLCHoklch(45.44% 0.06 228.5)
XYZxyz(8.0661, 9.6246, 17.0522)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5D71 #71432F
analogous
#2F7164 #2F5D71 #2F3C71
triadic
#2F5D71 #712F5D #5D712F
tetradic
#2F5D71 #642F71 #71432F #3C712F
square
#2F5D71 #642F71 #71432F #3C712F
split-complementary
#2F5D71 #712F3C #71642F
monochromatic
#0B161B #1D3946 #2F5D71 #41819C #5EA0BC

Accessibility & contrast

On white

7.18
#2F5D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2F5D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5D71
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5D71#FFFFFF#000000##FFFFFF
##2F5D711.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535B72
Deuteranopia (green-blind)
#495471
Tritanopia (blue-blind)
#006363
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2f5d71;
/* rgb */ color: rgb(47, 93, 113);
/* oklch */ color: oklch(45.4% 0.060 228.5);
Tailwind
colors: {
  custom: {
    50: '#6e8b99',
    500: '#2f5d71',
    950: '#000000',
  },
}
SCSS
$custom: #2f5d71;
$custom-light: #6e8b99;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5d71",
  "rgb": {
    "r": 47,
    "g": 93,
    "b": 113
  },
  "hsl": {
    "h": 198.182,
    "s": 41.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4544,
    "c": 0.06,
    "h": 228.5
  },
  "luminance": 0.09625
}

Semantic roles & 50–950 ramp

primary
#2F5D71
secondary
#A2705A
accent
#7C57D1
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #2F5D71

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

Preview Lab → · Contrast checker → · Palette generator →

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