#2F5166#2F5166

#2F5166 is a dark, muted cyan. Relative luminance 0.074; OKLCH L 41.8% C 0.053 H 237.0°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#2F5166
RGBrgb(47, 81, 102)
HSLhsl(203, 37%, 29%)
HSVhsv(203, 54%, 40%)
CMYKcmyk(53.9%, 20.6%, 0%, 60%)
CIE-LABlab(32.81, -5.77, -15.98)
CIE-LCHlch(32.81, 16.99, 250.13°)
OKLaboklab(41.83% -0.0288 -0.0445)
OKLCHoklch(41.83% 0.053 237)
XYZxyz(6.5121, 7.4480, 13.6622)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5166 #66442F
analogous
#2F6660 #2F5166 #2F3666
triadic
#2F5166 #662F51 #51662F
tetradic
#2F5166 #602F66 #66442F #36662F
square
#2F5166 #602F66 #66442F #36662F
split-complementary
#2F5166 #662F36 #66602F
monochromatic
#0A1115 #1C303C #2F5166 #427290 #5C92B4

Accessibility & contrast

On white

8.43
#2F5166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2F5166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5166
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5166#FFFFFF#000000##FFFFFF
##2F51661.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475067
Deuteranopia (green-blind)
#404B66
Tritanopia (blue-blind)
#115658
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f5166;
/* rgb */ color: rgb(47, 81, 102);
/* oklch */ color: oklch(41.8% 0.053 237.0);
Tailwind
colors: {
  custom: {
    50: '#6c8191',
    500: '#2f5166',
    950: '#000000',
  },
}
SCSS
$custom: #2f5166;
$custom-light: #6c8191;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5166",
  "rgb": {
    "r": 47,
    "g": 81,
    "b": 102
  },
  "hsl": {
    "h": 202.909,
    "s": 36.913,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41826,
    "c": 0.05299,
    "h": 237
  },
  "luminance": 0.07449
}

Semantic roles & 50–950 ramp

primary
#2F5166
secondary
#987159
accent
#865BCD
background
#F6F7F8
surface
#EBEEF0
border
#C6C9CB
text
#070A0C
muted
#7A7C7D

Preview Lab

Preview with #2F5166

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

Preview Lab → · Contrast checker → · Palette generator →

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