#2F7AC7#2F7AC7

#2F7AC7 is a mid, vivid cyan. Relative luminance 0.186; OKLCH L 57.2% C 0.140 H 252.1°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2F7AC7
RGBrgb(47, 122, 199)
HSLhsl(210, 62%, 48%)
HSVhsv(210, 76%, 78%)
CMYKcmyk(76.4%, 38.7%, 0%, 22%)
CIE-LABlab(50.27, 3.79, -46.60)
CIE-LCHlch(50.27, 46.75, 274.65°)
OKLaboklab(57.16% -0.0429 -0.133)
OKLCHoklch(57.16% 0.14 252.1)
XYZxyz(18.4368, 18.6448, 56.6489)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7AC7 #C77C2F
analogous
#2FC6C7 #2F7AC7 #302FC7
triadic
#2F7AC7 #C72F7A #7AC72F
tetradic
#2F7AC7 #C72FC6 #C77C2F #2FC730
square
#2F7AC7 #C72FC6 #C77C2F #2FC730
split-complementary
#2F7AC7 #C7302F #C6C72F
monochromatic
#183D64 #235C95 #2F7AC7 #5B99D8 #8CB8E4

Accessibility & contrast

On white

4.44
#2F7AC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#2F7AC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7AC7
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7AC7#FFFFFF#000000##000000
##2F7AC71.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#567FCA
Deuteranopia (green-blind)
#3E71C5
Tritanopia (blue-blind)
#008C97
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f7ac7;
/* rgb */ color: rgb(47, 122, 199);
/* oklch */ color: oklch(57.2% 0.140 252.1);
Tailwind
colors: {
  custom: {
    50: '#7da0d8',
    500: '#2f7ac7',
    950: '#000000',
  },
}
SCSS
$custom: #2f7ac7;
$custom-light: #7da0d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7ac7",
  "rgb": {
    "r": 47,
    "g": 122,
    "b": 199
  },
  "hsl": {
    "h": 210.395,
    "s": 61.789,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57163,
    "c": 0.1397,
    "h": 252.1
  },
  "luminance": 0.18647
}

Semantic roles & 50–950 ramp

primary
#2F7AC7
secondary
#CEA984
accent
#9543E5
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #2F7AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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