#2F7CC7#2F7CC7

#2F7CC7 is a mid, vivid cyan. Relative luminance 0.191; OKLCH L 57.6% C 0.138 H 251.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2F7CC7
RGBrgb(47, 124, 199)
HSLhsl(210, 62%, 48%)
HSVhsv(210, 76%, 78%)
CMYKcmyk(76.4%, 37.7%, 0%, 22%)
CIE-LABlab(50.85, 2.57, -45.67)
CIE-LCHlch(50.85, 45.75, 273.23°)
OKLaboklab(57.62% -0.0447 -0.1302)
OKLCHoklch(57.62% 0.138 251.1)
XYZxyz(18.6849, 19.1410, 56.7316)
Luminance0.1914 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7CC7 #C77A2F
analogous
#2FC7C6 #2F7CC7 #2F30C7
triadic
#2F7CC7 #C72F7C #7CC72F
tetradic
#2F7CC7 #C62FC7 #C77A2F #30C72F
square
#2F7CC7 #C62FC7 #C77A2F #30C72F
split-complementary
#2F7CC7 #C72F30 #C7C62F
monochromatic
#183E64 #235D95 #2F7CC7 #5B9AD8 #8CB9E4

Accessibility & contrast

On white

4.35
#2F7CC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#2F7CC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7CC7
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7CC7#FFFFFF#000000##000000
##2F7CC71.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5981CA
Deuteranopia (green-blind)
#4273C6
Tritanopia (blue-blind)
#008E98
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f7cc7;
/* rgb */ color: rgb(47, 124, 199);
/* oklch */ color: oklch(57.6% 0.138 251.1);
Tailwind
colors: {
  custom: {
    50: '#7da1d8',
    500: '#2f7cc7',
    950: '#000000',
  },
}
SCSS
$custom: #2f7cc7;
$custom-light: #7da1d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7cc7",
  "rgb": {
    "r": 47,
    "g": 124,
    "b": 199
  },
  "hsl": {
    "h": 209.605,
    "s": 61.789,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57619,
    "c": 0.13766,
    "h": 251.1
  },
  "luminance": 0.19143
}

Semantic roles & 50–950 ramp

primary
#2F7CC7
secondary
#CEA884
accent
#9343E5
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #2F7CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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