#2F5F71#2F5F71

#2F5F71 is a mid, muted cyan. Relative luminance 0.100; OKLCH L 46.0% C 0.060 H 224.9°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#2F5F71
RGBrgb(47, 95, 113)
HSLhsl(196, 41%, 31%)
HSVhsv(196, 58%, 44%)
CMYKcmyk(58.4%, 15.9%, 0%, 55.7%)
CIE-LABlab(37.81, -10.60, -15.16)
CIE-LCHlch(37.81, 18.50, 235.04°)
OKLaboklab(45.96% -0.0422 -0.0421)
OKLCHoklch(45.96% 0.06 224.9)
XYZxyz(8.2440, 9.9803, 17.1115)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5F71 #71412F
analogous
#2F7162 #2F5F71 #2F3E71
triadic
#2F5F71 #712F5F #5F712F
tetradic
#2F5F71 #622F71 #71412F #3E712F
square
#2F5F71 #622F71 #71412F #3E712F
split-complementary
#2F5F71 #712F3E #71622F
monochromatic
#0B161B #1D3B46 #2F5F71 #41839C #5EA3BC

Accessibility & contrast

On white

7.01
#2F5F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#2F5F71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5F71
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5F71#FFFFFF#000000##FFFFFF
##2F5F711.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555D72
Deuteranopia (green-blind)
#4B5671
Tritanopia (blue-blind)
#006465
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2f5f71;
/* rgb */ color: rgb(47, 95, 113);
/* oklch */ color: oklch(46.0% 0.060 224.9);
Tailwind
colors: {
  custom: {
    50: '#6e8c99',
    500: '#2f5f71',
    950: '#000000',
  },
}
SCSS
$custom: #2f5f71;
$custom-light: #6e8c99;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5f71",
  "rgb": {
    "r": 47,
    "g": 95,
    "b": 113
  },
  "hsl": {
    "h": 196.364,
    "s": 41.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.45956,
    "c": 0.05966,
    "h": 224.9
  },
  "luminance": 0.09981
}

Semantic roles & 50–950 ramp

primary
#2F5F71
secondary
#A26D5A
accent
#7857D1
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#070C0E
muted
#7A7D7E

Preview Lab

Preview with #2F5F71

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

Preview Lab → · Contrast checker → · Palette generator →

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