#2F4F62#2F4F62

#2F4F62 is a dark, muted cyan. Relative luminance 0.071; OKLCH L 41.1% C 0.049 H 235.8°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#2F4F62
RGBrgb(47, 79, 98)
HSLhsl(202, 35%, 28%)
HSVhsv(202, 52%, 38%)
CMYKcmyk(52%, 19.4%, 0%, 61.6%)
CIE-LABlab(31.98, -5.85, -14.72)
CIE-LCHlch(31.98, 15.84, 248.31°)
OKLaboklab(41.12% -0.0278 -0.0409)
OKLCHoklch(41.12% 0.049 235.8)
XYZxyz(6.1721, 7.0777, 12.5938)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4F62 #62422F
analogous
#2F625B #2F4F62 #2F3562
triadic
#2F4F62 #622F4F #4F622F
tetradic
#2F4F62 #5B2F62 #62422F #35622F
square
#2F4F62 #5B2F62 #62422F #35622F
split-complementary
#2F4F62 #622F35 #625B2F
monochromatic
#0A1115 #1B2E39 #2F4F62 #43708B #5B91B0

Accessibility & contrast

On white

8.69
#2F4F62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2F4F62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4F62
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4F62#FFFFFF#000000##FFFFFF
##2F4F621.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464E63
Deuteranopia (green-blind)
#3F4962
Tritanopia (blue-blind)
#165455
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2f4f62;
/* rgb */ color: rgb(47, 79, 98);
/* oklch */ color: oklch(41.1% 0.049 235.8);
Tailwind
colors: {
  custom: {
    50: '#6b808e',
    500: '#2f4f62',
    950: '#000000',
  },
}
SCSS
$custom: #2f4f62;
$custom-light: #6b808e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4f62",
  "rgb": {
    "r": 47,
    "g": 79,
    "b": 98
  },
  "hsl": {
    "h": 202.353,
    "s": 35.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41117,
    "c": 0.04941,
    "h": 235.8
  },
  "luminance": 0.07078
}

Semantic roles & 50–950 ramp

primary
#2F4F62
secondary
#946F59
accent
#865DCB
background
#F6F7F8
surface
#EBEEF0
border
#C6C9CB
text
#070A0C
muted
#7A7C7D

Preview Lab

Preview with #2F4F62

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

Preview Lab → · Contrast checker → · Palette generator →

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