#2F7FC7#2F7FC7

#2F7FC7 is a mid, vivid cyan. Relative luminance 0.199; OKLCH L 58.3% C 0.135 H 249.4°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2F7FC7
RGBrgb(47, 127, 199)
HSLhsl(208, 62%, 48%)
HSVhsv(208, 76%, 78%)
CMYKcmyk(76.4%, 36.2%, 0%, 22%)
CIE-LABlab(51.73, 0.76, -44.28)
CIE-LCHlch(51.73, 44.29, 270.98°)
OKLaboklab(58.31% -0.0474 -0.1261)
OKLCHoklch(58.31% 0.135 249.4)
XYZxyz(19.0665, 19.9044, 56.8588)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7FC7 #C7772F
analogous
#2FC7C3 #2F7FC7 #2F33C7
triadic
#2F7FC7 #C72F7F #7FC72F
tetradic
#2F7FC7 #C32FC7 #C7772F #33C72F
square
#2F7FC7 #C32FC7 #C7772F #33C72F
split-complementary
#2F7FC7 #C72F33 #C7C32F
monochromatic
#184064 #235F95 #2F7FC7 #5B9DD8 #8CBBE4

Accessibility & contrast

On white

4.22
#2F7FC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#2F7FC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7FC7
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7FC7#FFFFFF#000000##000000
##2F7FC71.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E83CA
Deuteranopia (green-blind)
#4775C6
Tritanopia (blue-blind)
#009099
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2f7fc7;
/* rgb */ color: rgb(47, 127, 199);
/* oklch */ color: oklch(58.3% 0.135 249.4);
Tailwind
colors: {
  custom: {
    50: '#7da3d8',
    500: '#2f7fc7',
    950: '#000000',
  },
}
SCSS
$custom: #2f7fc7;
$custom-light: #7da3d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7fc7",
  "rgb": {
    "r": 47,
    "g": 127,
    "b": 199
  },
  "hsl": {
    "h": 208.421,
    "s": 61.789,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58306,
    "c": 0.13468,
    "h": 249.4
  },
  "luminance": 0.19907
}

Semantic roles & 50–950 ramp

primary
#2F7FC7
secondary
#CEA784
accent
#9043E5
background
#F8FAFD
surface
#EFF3FA
border
#CACDD3
text
#0B0F14
muted
#7C7F83

Preview Lab

Preview with #2F7FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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