#2F7CB2#2F7CB2

#2F7CB2 is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 56.4% C 0.112 H 243.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#2F7CB2
RGBrgb(47, 124, 178)
HSLhsl(205, 58%, 44%)
HSVhsv(205, 74%, 70%)
CMYKcmyk(73.6%, 30.3%, 0%, 30.2%)
CIE-LABlab(49.78, -5.09, -35.31)
CIE-LCHlch(49.78, 35.67, 261.80°)
OKLaboklab(56.42% -0.0506 -0.0999)
OKLCHoklch(56.42% 0.112 243.1)
XYZxyz(16.4127, 18.2321, 44.7650)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7CB2 #B2652F
analogous
#2FB2A7 #2F7CB2 #2F3BB2
triadic
#2F7CB2 #B22F7C #7CB22F
tetradic
#2F7CB2 #A72FB2 #B2652F #3BB22F
square
#2F7CB2 #A72FB2 #B2652F #3BB22F
split-complementary
#2F7CB2 #B22F3B #B2A72F
monochromatic
#153951 #225A82 #2F7CB2 #4E9BD0 #7EB6DD

Accessibility & contrast

On white

4.52
#2F7CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#2F7CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7CB2
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7CB2#FFFFFF#000000##000000
##2F7CB21.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#637DB4
Deuteranopia (green-blind)
#5171B1
Tritanopia (blue-blind)
#00898F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f7cb2;
/* rgb */ color: rgb(47, 124, 178);
/* oklch */ color: oklch(56.4% 0.112 243.1);
Tailwind
colors: {
  custom: {
    50: '#79a1c9',
    500: '#2f7cb2',
    950: '#000000',
  },
}
SCSS
$custom: #2f7cb2;
$custom-light: #79a1c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7cb2",
  "rgb": {
    "r": 47,
    "g": 124,
    "b": 178
  },
  "hsl": {
    "h": 204.733,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.56421,
    "c": 0.112,
    "h": 243.1
  },
  "luminance": 0.18234
}

Semantic roles & 50–950 ramp

primary
#2F7CB2
secondary
#C69777
accent
#8646E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #2F7CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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