#2F506B#2F506B

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

Color values

HEX#2F506B
RGBrgb(47, 80, 107)
HSLhsl(207, 39%, 30%)
HSVhsv(207, 56%, 42%)
CMYKcmyk(56.1%, 25.2%, 0%, 58%)
CIE-LABlab(32.71, -3.46, -19.28)
CIE-LCHlch(32.71, 19.59, 259.82°)
OKLaboklab(41.82% -0.0256 -0.0539)
OKLCHoklch(41.82% 0.06 244.6)
XYZxyz(6.6938, 7.4027, 14.9832)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F506B #6B4A2F
analogous
#2F6B68 #2F506B #2F326B
triadic
#2F506B #6B2F50 #506B2F
tetradic
#2F506B #682F6B #6B4A2F #326B2F
square
#2F506B #682F6B #6B4A2F #326B2F
split-complementary
#2F506B #6B2F32 #6B682F
monochromatic
#0A1016 #1C3040 #2F506B #427096 #5D8FB8

Accessibility & contrast

On white

8.47
#2F506B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2F506B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F506B
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F506B#FFFFFF#000000##FFFFFF
##2F506B1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44506C
Deuteranopia (green-blind)
#3D4A6A
Tritanopia (blue-blind)
#0B5659
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f506b;
/* rgb */ color: rgb(47, 80, 107);
/* oklch */ color: oklch(41.8% 0.060 244.6);
Tailwind
colors: {
  custom: {
    50: '#6c8195',
    500: '#2f506b',
    950: '#000000',
  },
}
SCSS
$custom: #2f506b;
$custom-light: #6c8195;
$custom-dark: #000000;
JSON
{
  "hex": "#2f506b",
  "rgb": {
    "r": 47,
    "g": 80,
    "b": 107
  },
  "hsl": {
    "h": 207,
    "s": 38.961,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41822,
    "c": 0.05967,
    "h": 244.6
  },
  "luminance": 0.07403
}

Semantic roles & 50–950 ramp

primary
#2F506B
secondary
#9C7859
accent
#8E59CF
background
#F6F7F9
surface
#ECEEF1
border
#C7C9CB
text
#070A0D
muted
#7A7C7E

Preview Lab

Preview with #2F506B

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

Preview Lab → · Contrast checker → · Palette generator →

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