#2F7DA8#2F7DA8

#2F7DA8 is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.1% C 0.100 H 236.8°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2F7DA8
RGBrgb(47, 125, 168)
HSLhsl(201, 56%, 42%)
HSVhsv(201, 72%, 66%)
CMYKcmyk(72%, 25.6%, 0%, 34.1%)
CIE-LABlab(49.61, -9.23, -29.77)
CIE-LCHlch(49.61, 31.16, 252.77°)
OKLaboklab(56.14% -0.0549 -0.0838)
OKLCHoklch(56.14% 0.1 236.8)
XYZxyz(15.5710, 18.0970, 39.7106)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7DA8 #A85A2F
analogous
#2FA896 #2F7DA8 #2F41A8
triadic
#2F7DA8 #A82F7D #7DA82F
tetradic
#2F7DA8 #962FA8 #A85A2F #41A82F
square
#2F7DA8 #962FA8 #A85A2F #41A82F
split-complementary
#2F7DA8 #A82F41 #A8962F
monochromatic
#143648 #225978 #2F7DA8 #489DCC #78B7D9

Accessibility & contrast

On white

4.55
#2F7DA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#2F7DA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7DA8
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7DA8#FFFFFF#000000##000000
##2F7DA81.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#697DAA
Deuteranopia (green-blind)
#5871A7
Tritanopia (blue-blind)
#00888C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f7da8;
/* rgb */ color: rgb(47, 125, 168);
/* oklch */ color: oklch(56.1% 0.100 236.8);
Tailwind
colors: {
  custom: {
    50: '#77a2c2',
    500: '#2f7da8',
    950: '#000000',
  },
}
SCSS
$custom: #2f7da8;
$custom-light: #77a2c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7da8",
  "rgb": {
    "r": 47,
    "g": 125,
    "b": 168
  },
  "hsl": {
    "h": 201.322,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.56138,
    "c": 0.10022,
    "h": 236.8
  },
  "luminance": 0.18099
}

Semantic roles & 50–950 ramp

primary
#2F7DA8
secondary
#C18E71
accent
#7E48E0
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #2F7DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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