#2F7AA6#2F7AA6

#2F7AA6 is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.3% C 0.100 H 238.3°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2F7AA6
RGBrgb(47, 122, 166)
HSLhsl(202, 56%, 42%)
HSVhsv(202, 72%, 65%)
CMYKcmyk(71.7%, 26.5%, 0%, 34.9%)
CIE-LABlab(48.60, -8.19, -30.18)
CIE-LCHlch(48.60, 31.27, 254.81°)
OKLaboklab(55.31% -0.0525 -0.085)
OKLCHoklch(55.31% 0.1 238.3)
XYZxyz(15.0121, 17.2749, 38.6122)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7AA6 #A65B2F
analogous
#2FA697 #2F7AA6 #2F3EA6
triadic
#2F7AA6 #A62F7A #7AA62F
tetradic
#2F7AA6 #972FA6 #A65B2F #3EA62F
square
#2F7AA6 #972FA6 #A65B2F #3EA62F
split-complementary
#2F7AA6 #A62F3E #A6972F
monochromatic
#143447 #215776 #2F7AA6 #479ACB #77B4D8

Accessibility & contrast

On white

4.71
#2F7AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#2F7AA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7AA6
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7AA6#FFFFFF#000000##FFFFFF
##2F7AA61.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#657AA8
Deuteranopia (green-blind)
#556EA5
Tritanopia (blue-blind)
#008589
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f7aa6;
/* rgb */ color: rgb(47, 122, 166);
/* oklch */ color: oklch(55.3% 0.100 238.3);
Tailwind
colors: {
  custom: {
    50: '#77a0c0',
    500: '#2f7aa6',
    950: '#000000',
  },
}
SCSS
$custom: #2f7aa6;
$custom-light: #77a0c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7aa6",
  "rgb": {
    "r": 47,
    "g": 122,
    "b": 166
  },
  "hsl": {
    "h": 202.185,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.55307,
    "c": 0.09996,
    "h": 238.3
  },
  "luminance": 0.17277
}

Semantic roles & 50–950 ramp

primary
#2F7AA6
secondary
#C18E70
accent
#8049DF
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2F7AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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