#2F7DD0#2F7DD0

#2F7DD0 is a mid, vivid cyan. Relative luminance 0.198; OKLCH L 58.4% C 0.148 H 253.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#2F7DD0
RGBrgb(47, 125, 208)
HSLhsl(211, 63%, 50%)
HSVhsv(211, 77%, 82%)
CMYKcmyk(77.4%, 39.9%, 0%, 18.4%)
CIE-LABlab(51.64, 5.29, -49.55)
CIE-LCHlch(51.64, 49.83, 276.10°)
OKLaboklab(58.39% -0.0434 -0.1415)
OKLCHoklch(58.39% 0.148 253)
XYZxyz(19.8868, 19.8233, 62.4404)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7DD0 #D0822F
analogous
#2FCDD0 #2F7DD0 #322FD0
triadic
#2F7DD0 #D02F7D #7DD02F
tetradic
#2F7DD0 #D02FCD #D0822F #2FD032
square
#2F7DD0 #D02FCD #D0822F #2FD032
split-complementary
#2F7DD0 #D0322F #CDD02F
monochromatic
#18416C #245F9E #2F7DD0 #619CDB #93BBE7

Accessibility & contrast

On white

4.23
#2F7DD0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#2F7DD0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7DD0
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7DD0#FFFFFF#000000##000000
##2F7DD01.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5583D3
Deuteranopia (green-blind)
#3B74CE
Tritanopia (blue-blind)
#00919C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2f7dd0;
/* rgb */ color: rgb(47, 125, 208);
/* oklch */ color: oklch(58.4% 0.148 253.0);
Tailwind
colors: {
  custom: {
    50: '#7fa2df',
    500: '#2f7dd0',
    950: '#000000',
  },
}
SCSS
$custom: #2f7dd0;
$custom-light: #7fa2df;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7dd0",
  "rgb": {
    "r": 47,
    "g": 125,
    "b": 208
  },
  "hsl": {
    "h": 210.932,
    "s": 63.137,
    "l": 50
  },
  "oklch": {
    "l": 0.58393,
    "c": 0.14805,
    "h": 253
  },
  "luminance": 0.19826
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F7DD0

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

Preview Lab → · Contrast checker → · Palette generator →

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