#2F6687#2F6687

#2F6687 is a mid, moderate cyan. Relative luminance 0.119; OKLCH L 48.8% C 0.079 H 237.7°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#2F6687
RGBrgb(47, 102, 135)
HSLhsl(203, 48%, 36%)
HSVhsv(203, 65%, 53%)
CMYKcmyk(65.2%, 24.4%, 0%, 47.1%)
CIE-LABlab(40.99, -7.28, -23.66)
CIE-LCHlch(40.99, 24.76, 252.89°)
OKLaboklab(48.8% -0.0419 -0.0664)
OKLCHoklch(48.8% 0.079 237.7)
XYZxyz(10.2952, 11.8553, 24.6627)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6687 #87502F
analogous
#2F877C #2F6687 #2F3A87
triadic
#2F6687 #872F66 #66872F
tetradic
#2F6687 #7C2F87 #87502F #3A872F
square
#2F6687 #7C2F87 #87502F #3A872F
split-complementary
#2F6687 #872F3A #877C2F
monochromatic
#0F212C #1F445A #2F6687 #3F88B4 #66A5CA

Accessibility & contrast

On white

6.23
#2F6687 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#2F6687 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6687
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6687#FFFFFF#000000##FFFFFF
##2F66871.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576689
Deuteranopia (green-blind)
#4B5D86
Tritanopia (blue-blind)
#006E71
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2f6687;
/* rgb */ color: rgb(47, 102, 135);
/* oklch */ color: oklch(48.8% 0.079 237.7);
Tailwind
colors: {
  custom: {
    50: '#7191aa',
    500: '#2f6687',
    950: '#000000',
  },
}
SCSS
$custom: #2f6687;
$custom-light: #7191aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6687",
  "rgb": {
    "r": 47,
    "g": 102,
    "b": 135
  },
  "hsl": {
    "h": 202.5,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.48796,
    "c": 0.07855,
    "h": 237.7
  },
  "luminance": 0.11856
}

Semantic roles & 50–950 ramp

primary
#2F6687
secondary
#B17F61
accent
#8350D8
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #2F6687

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

Preview Lab → · Contrast checker → · Palette generator →

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