#2F5162#2F5162

#2F5162 is a dark, muted cyan. Relative luminance 0.074; OKLCH L 41.6% C 0.049 H 231.3°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#2F5162
RGBrgb(47, 81, 98)
HSLhsl(200, 35%, 28%)
HSVhsv(200, 52%, 38%)
CMYKcmyk(52%, 17.3%, 0%, 61.6%)
CIE-LABlab(32.64, -7.09, -13.72)
CIE-LCHlch(32.64, 15.44, 242.67°)
OKLaboklab(41.64% -0.0305 -0.038)
OKLCHoklch(41.64% 0.049 231.3)
XYZxyz(6.3185, 7.3705, 12.6426)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5162 #62402F
analogous
#2F6259 #2F5162 #2F3762
triadic
#2F5162 #622F51 #51622F
tetradic
#2F5162 #592F62 #62402F #37622F
square
#2F5162 #592F62 #62402F #37622F
split-complementary
#2F5162 #622F37 #62592F
monochromatic
#0A1115 #1B2F39 #2F5162 #43738B #5B94B0

Accessibility & contrast

On white

8.49
#2F5162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2F5162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5162
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5162#FFFFFF#000000##FFFFFF
##2F51621.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495063
Deuteranopia (green-blind)
#414A62
Tritanopia (blue-blind)
#155656
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f5162;
/* rgb */ color: rgb(47, 81, 98);
/* oklch */ color: oklch(41.6% 0.049 231.3);
Tailwind
colors: {
  custom: {
    50: '#6b818e',
    500: '#2f5162',
    950: '#000000',
  },
}
SCSS
$custom: #2f5162;
$custom-light: #6b818e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5162",
  "rgb": {
    "r": 47,
    "g": 81,
    "b": 98
  },
  "hsl": {
    "h": 200,
    "s": 35.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41635,
    "c": 0.04873,
    "h": 231.3
  },
  "luminance": 0.07371
}

Semantic roles & 50–950 ramp

primary
#2F5162
secondary
#946D59
accent
#815DCB
background
#F6F7F8
surface
#EBEEF0
border
#C6C9CB
text
#070A0C
muted
#7A7C7D

Preview Lab

Preview with #2F5162

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

Preview Lab → · Contrast checker → · Palette generator →

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