#2F6987#2F6987

#2F6987 is a mid, moderate cyan. Relative luminance 0.125; OKLCH L 49.5% C 0.077 H 233.9°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#2F6987
RGBrgb(47, 105, 135)
HSLhsl(200, 48%, 36%)
HSVhsv(200, 65%, 53%)
CMYKcmyk(65.2%, 22.2%, 0%, 47.1%)
CIE-LABlab(41.93, -9.07, -22.20)
CIE-LCHlch(41.93, 23.98, 247.78°)
OKLaboklab(49.55% -0.0454 -0.0622)
OKLCHoklch(49.55% 0.077 233.9)
XYZxyz(10.5953, 12.4557, 24.7628)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6987 #874D2F
analogous
#2F8779 #2F6987 #2F3D87
triadic
#2F6987 #872F69 #69872F
tetradic
#2F6987 #792F87 #874D2F #3D872F
square
#2F6987 #792F87 #874D2F #3D872F
split-complementary
#2F6987 #872F3D #87792F
monochromatic
#0F222C #1F465A #2F6987 #3F8CB4 #66A8CA

Accessibility & contrast

On white

6.01
#2F6987 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#2F6987 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6987
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6987#FFFFFF#000000##FFFFFF
##2F69871.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6888
Deuteranopia (green-blind)
#4E5F87
Tritanopia (blue-blind)
#007173
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2f6987;
/* rgb */ color: rgb(47, 105, 135);
/* oklch */ color: oklch(49.5% 0.077 233.9);
Tailwind
colors: {
  custom: {
    50: '#7193aa',
    500: '#2f6987',
    950: '#000000',
  },
}
SCSS
$custom: #2f6987;
$custom-light: #7193aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6987",
  "rgb": {
    "r": 47,
    "g": 105,
    "b": 135
  },
  "hsl": {
    "h": 200.455,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.49547,
    "c": 0.07696,
    "h": 233.9
  },
  "luminance": 0.12457
}

Semantic roles & 50–950 ramp

primary
#2F6987
secondary
#B17C61
accent
#7E50D8
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #2F6987

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

Preview Lab → · Contrast checker → · Palette generator →

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