#2F6A87#2F6A87

#2F6A87 is a mid, moderate cyan. Relative luminance 0.127; OKLCH L 49.8% C 0.077 H 232.6°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#2F6A87
RGBrgb(47, 106, 135)
HSLhsl(200, 48%, 36%)
HSVhsv(200, 65%, 53%)
CMYKcmyk(65.2%, 21.5%, 0%, 47.1%)
CIE-LABlab(42.25, -9.66, -21.71)
CIE-LCHlch(42.25, 23.76, 246.02°)
OKLaboklab(49.8% -0.0465 -0.0608)
OKLCHoklch(49.8% 0.077 232.6)
XYZxyz(10.6978, 12.6606, 24.7969)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6A87 #874C2F
analogous
#2F8778 #2F6A87 #2F3E87
triadic
#2F6A87 #872F6A #6A872F
tetradic
#2F6A87 #782F87 #874C2F #3E872F
square
#2F6A87 #782F87 #874C2F #3E872F
split-complementary
#2F6A87 #872F3E #87782F
monochromatic
#0F232C #1F465A #2F6A87 #3F8EB4 #66A9CA

Accessibility & contrast

On white

5.94
#2F6A87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2F6A87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6A87
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6A87#FFFFFF#000000##FFFFFF
##2F6A871.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6988
Deuteranopia (green-blind)
#506087
Tritanopia (blue-blind)
#007274
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2f6a87;
/* rgb */ color: rgb(47, 106, 135);
/* oklch */ color: oklch(49.8% 0.077 232.6);
Tailwind
colors: {
  custom: {
    50: '#7194aa',
    500: '#2f6a87',
    950: '#000000',
  },
}
SCSS
$custom: #2f6a87;
$custom-light: #7194aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6a87",
  "rgb": {
    "r": 47,
    "g": 106,
    "b": 135
  },
  "hsl": {
    "h": 199.773,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.49799,
    "c": 0.07653,
    "h": 232.6
  },
  "luminance": 0.12662
}

Semantic roles & 50–950 ramp

primary
#2F6A87
secondary
#B17B61
accent
#7D50D8
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #2F6A87

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

Preview Lab → · Contrast checker → · Palette generator →

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