#2F6787#2F6787

#2F6787 is a mid, moderate cyan. Relative luminance 0.121; OKLCH L 49.0% C 0.078 H 236.5°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#2F6787
RGBrgb(47, 103, 135)
HSLhsl(202, 48%, 36%)
HSVhsv(202, 65%, 53%)
CMYKcmyk(65.2%, 23.7%, 0%, 47.1%)
CIE-LABlab(41.30, -7.88, -23.18)
CIE-LCHlch(41.30, 24.48, 251.22°)
OKLaboklab(49.05% -0.0431 -0.065)
OKLCHoklch(49.05% 0.078 236.5)
XYZxyz(10.3940, 12.0531, 24.6957)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6787 #874F2F
analogous
#2F877B #2F6787 #2F3B87
triadic
#2F6787 #872F67 #67872F
tetradic
#2F6787 #7B2F87 #874F2F #3B872F
square
#2F6787 #7B2F87 #874F2F #3B872F
split-complementary
#2F6787 #872F3B #877B2F
monochromatic
#0F222C #1F445A #2F6787 #3F8AB4 #66A6CA

Accessibility & contrast

On white

6.16
#2F6787 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#2F6787 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6787
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6787#FFFFFF#000000##FFFFFF
##2F67871.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586689
Deuteranopia (green-blind)
#4C5D86
Tritanopia (blue-blind)
#006F72
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2f6787;
/* rgb */ color: rgb(47, 103, 135);
/* oklch */ color: oklch(49.0% 0.078 236.5);
Tailwind
colors: {
  custom: {
    50: '#7192aa',
    500: '#2f6787',
    950: '#000000',
  },
}
SCSS
$custom: #2f6787;
$custom-light: #7192aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6787",
  "rgb": {
    "r": 47,
    "g": 103,
    "b": 135
  },
  "hsl": {
    "h": 201.818,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.49046,
    "c": 0.07798,
    "h": 236.5
  },
  "luminance": 0.12054
}

Semantic roles & 50–950 ramp

primary
#2F6787
secondary
#B17E61
accent
#8150D8
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080D10
muted
#7B7D7F

Preview Lab

Preview with #2F6787

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

Preview Lab → · Contrast checker → · Palette generator →

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