#2F7186#2F7186

#2F7186 is a mid, moderate cyan. Relative luminance 0.141; OKLCH L 51.5% C 0.074 H 222.0°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#2F7186
RGBrgb(47, 113, 134)
HSLhsl(194, 48%, 35%)
HSVhsv(194, 65%, 53%)
CMYKcmyk(64.9%, 15.7%, 0%, 47.5%)
CIE-LABlab(44.43, -14.03, -17.76)
CIE-LCHlch(44.43, 22.63, 231.70°)
OKLaboklab(51.52% -0.0549 -0.0495)
OKLCHoklch(51.52% 0.074 222)
XYZxyz(11.3788, 14.1346, 24.6782)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7186 #86442F
analogous
#2F866F #2F7186 #2F4586
triadic
#2F7186 #862F71 #71862F
tetradic
#2F7186 #6F2F86 #86442F #45862F
square
#2F7186 #6F2F86 #86442F #45862F
split-complementary
#2F7186 #862F45 #866F2F
monochromatic
#0F252B #1F4B59 #2F7186 #3F97B3 #66B1C9

Accessibility & contrast

On white

5.49
#2F7186 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#2F7186 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7186
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7186#FFFFFF#000000##FFFFFF
##2F71861.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#656E87
Deuteranopia (green-blind)
#586586
Tritanopia (blue-blind)
#007878
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2f7186;
/* rgb */ color: rgb(47, 113, 134);
/* oklch */ color: oklch(51.5% 0.074 222.0);
Tailwind
colors: {
  custom: {
    50: '#729aa9',
    500: '#2f7186',
    950: '#000000',
  },
}
SCSS
$custom: #2f7186;
$custom-light: #729aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7186",
  "rgb": {
    "r": 47,
    "g": 113,
    "b": 134
  },
  "hsl": {
    "h": 194.483,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.51524,
    "c": 0.07388,
    "h": 222
  },
  "luminance": 0.14136
}

Semantic roles & 50–950 ramp

primary
#2F7186
secondary
#B07460
accent
#7150D8
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2F7186

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

Preview Lab → · Contrast checker → · Palette generator →

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