#2F516D#2F516D

#2F516D is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.2% C 0.061 H 244.8°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#2F516D
RGBrgb(47, 81, 109)
HSLhsl(207, 40%, 31%)
HSVhsv(207, 57%, 43%)
CMYKcmyk(56.9%, 25.7%, 0%, 57.3%)
CIE-LABlab(33.12, -3.41, -19.89)
CIE-LCHlch(33.12, 20.18, 260.28°)
OKLaboklab(42.18% -0.0261 -0.0557)
OKLCHoklch(42.18% 0.062 244.8)
XYZxyz(6.8740, 7.5928, 15.5683)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F516D #6D4B2F
analogous
#2F6D6A #2F516D #2F326D
triadic
#2F516D #6D2F51 #516D2F
tetradic
#2F516D #6A2F6D #6D4B2F #326D2F
square
#2F516D #6A2F6D #6D4B2F #326D2F
split-complementary
#2F516D #6D2F32 #6D6A2F
monochromatic
#0A1117 #1D3142 #2F516D #417198 #5D90B9

Accessibility & contrast

On white

8.34
#2F516D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2F516D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F516D
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F516D#FFFFFF#000000##FFFFFF
##2F516D1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45516E
Deuteranopia (green-blind)
#3D4B6C
Tritanopia (blue-blind)
#07585B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2f516d;
/* rgb */ color: rgb(47, 81, 109);
/* oklch */ color: oklch(42.2% 0.061 244.8);
Tailwind
colors: {
  custom: {
    50: '#6c8197',
    500: '#2f516d',
    950: '#000000',
  },
}
SCSS
$custom: #2f516d;
$custom-light: #6c8197;
$custom-dark: #000000;
JSON
{
  "hex": "#2f516d",
  "rgb": {
    "r": 47,
    "g": 81,
    "b": 109
  },
  "hsl": {
    "h": 207.097,
    "s": 39.744,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42178,
    "c": 0.0615,
    "h": 244.8
  },
  "luminance": 0.07593
}

Semantic roles & 50–950 ramp

primary
#2F516D
secondary
#9E7959
accent
#8E58D0
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0D
muted
#7A7C7E

Preview Lab

Preview with #2F516D

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

Preview Lab → · Contrast checker → · Palette generator →

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