#2F7CCF#2F7CCF

#2F7CCF is a mid, vivid cyan. Relative luminance 0.195; OKLCH L 58.1% C 0.148 H 253.2°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#2F7CCF
RGBrgb(47, 124, 207)
HSLhsl(211, 63%, 50%)
HSVhsv(211, 77%, 81%)
CMYKcmyk(77.3%, 40.1%, 0%, 18.8%)
CIE-LABlab(51.29, 5.54, -49.53)
CIE-LCHlch(51.29, 49.84, 276.38°)
OKLaboklab(58.11% -0.0427 -0.1415)
OKLCHoklch(58.11% 0.148 253.2)
XYZxyz(19.6382, 19.5223, 61.7526)
Luminance0.1953 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7CCF #CF822F
analogous
#2FCCCF #2F7CCF #322FCF
triadic
#2F7CCF #CF2F7C #7CCF2F
tetradic
#2F7CCF #CF2FCC #CF822F #2FCF32
square
#2F7CCF #CF2FCC #CF822F #2FCF32
split-complementary
#2F7CCF #CF322F #CCCF2F
monochromatic
#18406B #245E9D #2F7CCF #609BDB #92BBE6

Accessibility & contrast

On white

4.28
#2F7CCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#2F7CCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7CCF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7CCF#FFFFFF#000000##000000
##2F7CCF1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5482D2
Deuteranopia (green-blind)
#3A74CD
Tritanopia (blue-blind)
#00909B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2f7ccf;
/* rgb */ color: rgb(47, 124, 207);
/* oklch */ color: oklch(58.1% 0.148 253.2);
Tailwind
colors: {
  custom: {
    50: '#7ea1de',
    500: '#2f7ccf',
    950: '#000000',
  },
}
SCSS
$custom: #2f7ccf;
$custom-light: #7ea1de;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7ccf",
  "rgb": {
    "r": 47,
    "g": 124,
    "b": 207
  },
  "hsl": {
    "h": 211.125,
    "s": 62.992,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58107,
    "c": 0.14783,
    "h": 253.2
  },
  "luminance": 0.19525
}

Semantic roles & 50–950 ramp

primary
#2F7CCF
secondary
#D1AE89
accent
#9742E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #2F7CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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