#2F516F#2F516F

#2F516F is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.3% C 0.064 H 246.6°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#2F516F
RGBrgb(47, 81, 111)
HSLhsl(208, 41%, 31%)
HSVhsv(208, 58%, 44%)
CMYKcmyk(57.7%, 27%, 0%, 56.5%)
CIE-LABlab(33.21, -2.72, -21.00)
CIE-LCHlch(33.21, 21.17, 262.63°)
OKLaboklab(42.28% -0.0254 -0.0588)
OKLCHoklch(42.28% 0.064 246.6)
XYZxyz(6.9829, 7.6363, 16.1418)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F516F #6F4D2F
analogous
#2F6F6D #2F516F #2F316F
triadic
#2F516F #6F2F51 #516F2F
tetradic
#2F516F #6D2F6F #6F4D2F #316F2F
square
#2F516F #6D2F6F #6F4D2F #316F2F
split-complementary
#2F516F #6F2F31 #6F6D2F
monochromatic
#0B1219 #1D3244 #2F516F #41709A #5E8FBB

Accessibility & contrast

On white

8.31
#2F516F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2F516F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F516F
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F516F#FFFFFF#000000##FFFFFF
##2F516F1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445270
Deuteranopia (green-blind)
#3C4B6E
Tritanopia (blue-blind)
#03585B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2f516f;
/* rgb */ color: rgb(47, 81, 111);
/* oklch */ color: oklch(42.3% 0.064 246.6);
Tailwind
colors: {
  custom: {
    50: '#6d8198',
    500: '#2f516f',
    950: '#000000',
  },
}
SCSS
$custom: #2f516f;
$custom-light: #6d8198;
$custom-dark: #000000;
JSON
{
  "hex": "#2f516f",
  "rgb": {
    "r": 47,
    "g": 81,
    "b": 111
  },
  "hsl": {
    "h": 208.125,
    "s": 40.506,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42283,
    "c": 0.06411,
    "h": 246.6
  },
  "luminance": 0.07637
}

Semantic roles & 50–950 ramp

primary
#2F516F
secondary
#A07B59
accent
#9057D0
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0D
muted
#7A7C7E

Preview Lab

Preview with #2F516F

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

Preview Lab → · Contrast checker → · Palette generator →

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