#2F516E#2F516E

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

Color values

HEX#2F516E
RGBrgb(47, 81, 110)
HSLhsl(208, 40%, 31%)
HSVhsv(208, 57%, 43%)
CMYKcmyk(57.3%, 26.4%, 0%, 56.9%)
CIE-LABlab(33.17, -3.06, -20.45)
CIE-LCHlch(33.17, 20.67, 261.49°)
OKLaboklab(42.23% -0.0258 -0.0572)
OKLCHoklch(42.23% 0.063 245.7)
XYZxyz(6.9282, 7.6144, 15.8535)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F516E #6E4C2F
analogous
#2F6E6B #2F516E #2F316E
triadic
#2F516E #6E2F51 #516E2F
tetradic
#2F516E #6B2F6E #6E4C2F #316E2F
square
#2F516E #6B2F6E #6E4C2F #316E2F
split-complementary
#2F516E #6E2F31 #6E6B2F
monochromatic
#0A1218 #1D3143 #2F516E #417199 #5D8FBA

Accessibility & contrast

On white

8.32
#2F516E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F516E
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F516E#FFFFFF#000000##FFFFFF
##2F516E1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45526F
Deuteranopia (green-blind)
#3C4B6D
Tritanopia (blue-blind)
#05585B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2f516e;
/* rgb */ color: rgb(47, 81, 110);
/* oklch */ color: oklch(42.2% 0.063 245.7);
Tailwind
colors: {
  custom: {
    50: '#6d8197',
    500: '#2f516e',
    950: '#000000',
  },
}
SCSS
$custom: #2f516e;
$custom-light: #6d8197;
$custom-dark: #000000;
JSON
{
  "hex": "#2f516e",
  "rgb": {
    "r": 47,
    "g": 81,
    "b": 110
  },
  "hsl": {
    "h": 207.619,
    "s": 40.127,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42231,
    "c": 0.06279,
    "h": 245.7
  },
  "luminance": 0.07615
}

Semantic roles & 50–950 ramp

primary
#2F516E
secondary
#9F7A59
accent
#8F58D0
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0D
muted
#7A7C7E

Preview Lab

Preview with #2F516E

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

Preview Lab → · Contrast checker → · Palette generator →

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