#2F506A#2F506A

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

Color values

HEX#2F506A
RGBrgb(47, 80, 106)
HSLhsl(206, 39%, 30%)
HSVhsv(206, 56%, 42%)
CMYKcmyk(55.7%, 24.5%, 0%, 58.4%)
CIE-LABlab(32.66, -3.80, -18.72)
CIE-LCHlch(32.66, 19.10, 258.52°)
OKLaboklab(41.77% -0.026 -0.0523)
OKLCHoklch(41.77% 0.058 243.6)
XYZxyz(6.6415, 7.3817, 14.7077)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F506A #6A492F
analogous
#2F6A67 #2F506A #2F326A
triadic
#2F506A #6A2F50 #506A2F
tetradic
#2F506A #672F6A #6A492F #326A2F
square
#2F506A #672F6A #6A492F #326A2F
split-complementary
#2F506A #6A2F32 #6A672F
monochromatic
#091015 #1C3040 #2F506A #427094 #5C8FB7

Accessibility & contrast

On white

8.48
#2F506A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F506A
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F506A#FFFFFF#000000##FFFFFF
##2F506A1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45506B
Deuteranopia (green-blind)
#3D4A6A
Tritanopia (blue-blind)
#0C5659
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f506a;
/* rgb */ color: rgb(47, 80, 106);
/* oklch */ color: oklch(41.8% 0.058 243.6);
Tailwind
colors: {
  custom: {
    50: '#6c8194',
    500: '#2f506a',
    950: '#000000',
  },
}
SCSS
$custom: #2f506a;
$custom-light: #6c8194;
$custom-dark: #000000;
JSON
{
  "hex": "#2f506a",
  "rgb": {
    "r": 47,
    "g": 80,
    "b": 106
  },
  "hsl": {
    "h": 206.441,
    "s": 38.562,
    "l": 30
  },
  "oklch": {
    "l": 0.4177,
    "c": 0.05839,
    "h": 243.6
  },
  "luminance": 0.07382
}

Semantic roles & 50–950 ramp

primary
#2F506A
secondary
#9B7659
accent
#8D59CE
background
#F6F7F9
surface
#ECEEF1
border
#C7C9CB
text
#070A0D
muted
#7A7C7E

Preview Lab

Preview with #2F506A

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

Preview Lab → · Contrast checker → · Palette generator →

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