#2F7FD0#2F7FD0

#2F7FD0 is a mid, vivid cyan. Relative luminance 0.203; OKLCH L 58.8% C 0.146 H 252.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#2F7FD0
RGBrgb(47, 127, 208)
HSLhsl(210, 63%, 50%)
HSVhsv(210, 77%, 82%)
CMYKcmyk(77.4%, 38.9%, 0%, 18.4%)
CIE-LABlab(52.21, 4.08, -48.63)
CIE-LCHlch(52.21, 48.80, 274.79°)
OKLaboklab(58.84% -0.0451 -0.1388)
OKLCHoklch(58.84% 0.146 252)
XYZxyz(20.1425, 20.3348, 62.5257)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7FD0 #D0802F
analogous
#2FD0D0 #2F7FD0 #2F2FD0
triadic
#2F7FD0 #D02F7F #7FD02F
tetradic
#2F7FD0 #D02FD0 #D0802F #2FD02F
square
#2F7FD0 #D02FD0 #D0802F #2FD02F
split-complementary
#2F7FD0 #D02F2F #D0D02F
monochromatic
#18426C #24619E #2F7FD0 #619EDB #93BCE7

Accessibility & contrast

On white

4.14
#2F7FD0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#2F7FD0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7FD0
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7FD0#FFFFFF#000000##000000
##2F7FD01.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5885D3
Deuteranopia (green-blind)
#3F76CE
Tritanopia (blue-blind)
#00929D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2f7fd0;
/* rgb */ color: rgb(47, 127, 208);
/* oklch */ color: oklch(58.8% 0.146 252.0);
Tailwind
colors: {
  custom: {
    50: '#7fa3df',
    500: '#2f7fd0',
    950: '#000000',
  },
}
SCSS
$custom: #2f7fd0;
$custom-light: #7fa3df;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7fd0",
  "rgb": {
    "r": 47,
    "g": 127,
    "b": 208
  },
  "hsl": {
    "h": 210.186,
    "s": 63.137,
    "l": 50
  },
  "oklch": {
    "l": 0.58843,
    "c": 0.14596,
    "h": 252
  },
  "luminance": 0.20337
}

Semantic roles & 50–950 ramp

primary
#2F7FD0
secondary
#D1AE89
accent
#9442E6
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #2F7FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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