#2F7EA8#2F7EA8

#2F7EA8 is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.4% C 0.100 H 235.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2F7EA8
RGBrgb(47, 126, 168)
HSLhsl(201, 56%, 42%)
HSVhsv(201, 72%, 66%)
CMYKcmyk(72%, 25%, 0%, 34.1%)
CIE-LABlab(49.92, -9.81, -29.29)
CIE-LCHlch(49.92, 30.89, 251.49°)
OKLaboklab(56.38% -0.0559 -0.0824)
OKLCHoklch(56.38% 0.1 235.8)
XYZxyz(15.6982, 18.3514, 39.7530)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7EA8 #A8592F
analogous
#2FA895 #2F7EA8 #2F42A8
triadic
#2F7EA8 #A82F7E #7EA82F
tetradic
#2F7EA8 #952FA8 #A8592F #42A82F
square
#2F7EA8 #952FA8 #A8592F #42A82F
split-complementary
#2F7EA8 #A82F42 #A8952F
monochromatic
#143648 #225A78 #2F7EA8 #489ECC #78B8D9

Accessibility & contrast

On white

4.50
#2F7EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#2F7EA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7EA8
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7EA8#FFFFFF#000000##000000
##2F7EA81.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7DAA
Deuteranopia (green-blind)
#5972A7
Tritanopia (blue-blind)
#00898C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2f7ea8;
/* rgb */ color: rgb(47, 126, 168);
/* oklch */ color: oklch(56.4% 0.100 235.8);
Tailwind
colors: {
  custom: {
    50: '#77a3c2',
    500: '#2f7ea8',
    950: '#000000',
  },
}
SCSS
$custom: #2f7ea8;
$custom-light: #77a3c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7ea8",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 168
  },
  "hsl": {
    "h": 200.826,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.56382,
    "c": 0.09963,
    "h": 235.8
  },
  "luminance": 0.18353
}

Semantic roles & 50–950 ramp

primary
#2F7EA8
secondary
#C18D71
accent
#7D48E0
background
#F7FAFB
surface
#EEF3F7
border
#C9CDD0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2F7EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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