#2F7DCF#2F7DCF

#2F7DCF is a mid, vivid cyan. Relative luminance 0.198; OKLCH L 58.3% C 0.147 H 252.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#2F7DCF
RGBrgb(47, 125, 207)
HSLhsl(211, 63%, 50%)
HSVhsv(211, 77%, 81%)
CMYKcmyk(77.3%, 39.6%, 0%, 18.8%)
CIE-LABlab(51.58, 4.92, -49.07)
CIE-LCHlch(51.58, 49.31, 275.73°)
OKLaboklab(58.33% -0.0436 -0.1401)
OKLCHoklch(58.33% 0.147 252.7)
XYZxyz(19.7642, 19.7742, 61.7945)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7DCF #CF812F
analogous
#2FCDCF #2F7DCF #312FCF
triadic
#2F7DCF #CF2F7D #7DCF2F
tetradic
#2F7DCF #CF2FCD #CF812F #2FCF31
square
#2F7DCF #CF2FCD #CF812F #2FCF31
split-complementary
#2F7DCF #CF312F #CDCF2F
monochromatic
#18416B #245F9D #2F7DCF #609CDB #92BBE6

Accessibility & contrast

On white

4.24
#2F7DCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#2F7DCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7DCF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7DCF#FFFFFF#000000##000000
##2F7DCF1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5683D2
Deuteranopia (green-blind)
#3C74CD
Tritanopia (blue-blind)
#00909C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2f7dcf;
/* rgb */ color: rgb(47, 125, 207);
/* oklch */ color: oklch(58.3% 0.147 252.7);
Tailwind
colors: {
  custom: {
    50: '#7ea2de',
    500: '#2f7dcf',
    950: '#000000',
  },
}
SCSS
$custom: #2f7dcf;
$custom-light: #7ea2de;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7dcf",
  "rgb": {
    "r": 47,
    "g": 125,
    "b": 207
  },
  "hsl": {
    "h": 210.75,
    "s": 62.992,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58331,
    "c": 0.14678,
    "h": 252.7
  },
  "luminance": 0.19777
}

Semantic roles & 50–950 ramp

primary
#2F7DCF
secondary
#D1AE89
accent
#9642E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #2F7DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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