#2F6A8F#2F6A8F

#2F6A8F is a mid, moderate cyan. Relative luminance 0.129; OKLCH L 50.2% C 0.085 H 239.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#2F6A8F
RGBrgb(47, 106, 143)
HSLhsl(203, 51%, 37%)
HSVhsv(203, 67%, 56%)
CMYKcmyk(67.1%, 25.9%, 0%, 43.9%)
CIE-LABlab(42.60, -6.87, -25.95)
CIE-LCHlch(42.60, 26.85, 255.17°)
OKLaboklab(50.2% -0.0436 -0.073)
OKLCHoklch(50.2% 0.085 239.2)
XYZxyz(11.2823, 12.8944, 27.8756)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6A8F #8F542F
analogous
#2F8F84 #2F6A8F #2F3A8F
triadic
#2F6A8F #8F2F6A #6A8F2F
tetradic
#2F6A8F #842F8F #8F542F #3A8F2F
square
#2F6A8F #842F8F #8F542F #3A8F2F
split-complementary
#2F6A8F #8F2F3A #8F842F
monochromatic
#112633 #204861 #2F6A8F #3E8CBD #6AA8CE

Accessibility & contrast

On white

5.87
#2F6A8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#2F6A8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6A8F
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6A8F#FFFFFF#000000##FFFFFF
##2F6A8F1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596A91
Deuteranopia (green-blind)
#4C608E
Tritanopia (blue-blind)
#007377
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2f6a8f;
/* rgb */ color: rgb(47, 106, 143);
/* oklch */ color: oklch(50.2% 0.085 239.2);
Tailwind
colors: {
  custom: {
    50: '#7294b0',
    500: '#2f6a8f',
    950: '#000000',
  },
}
SCSS
$custom: #2f6a8f;
$custom-light: #7294b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6a8f",
  "rgb": {
    "r": 47,
    "g": 106,
    "b": 143
  },
  "hsl": {
    "h": 203.125,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.502,
    "c": 0.08499,
    "h": 239.2
  },
  "luminance": 0.12896
}

Semantic roles & 50–950 ramp

primary
#2F6A8F
secondary
#B58465
accent
#844EDA
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #2F6A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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