#2F7CC8#2F7CC8

#2F7CC8 is a mid, vivid cyan. Relative luminance 0.192; OKLCH L 57.7% C 0.139 H 251.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2F7CC8
RGBrgb(47, 124, 200)
HSLhsl(210, 62%, 48%)
HSVhsv(210, 77%, 78%)
CMYKcmyk(76.5%, 38%, 0%, 21.6%)
CIE-LABlab(50.91, 2.94, -46.16)
CIE-LCHlch(50.91, 46.25, 273.65°)
OKLaboklab(57.68% -0.0444 -0.1316)
OKLCHoklch(57.68% 0.139 251.4)
XYZxyz(18.8013, 19.1876, 57.3451)
Luminance0.1919 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7CC8 #C87B2F
analogous
#2FC8C7 #2F7CC8 #2F2FC8
triadic
#2F7CC8 #C82F7C #7CC82F
tetradic
#2F7CC8 #C72FC8 #C87B2F #2FC82F
square
#2F7CC8 #C72FC8 #C87B2F #2FC82F
split-complementary
#2F7CC8 #C82F2F #C8C72F
monochromatic
#183F65 #235D96 #2F7CC8 #5C9BD9 #8DB9E4

Accessibility & contrast

On white

4.34
#2F7CC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#2F7CC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7CC8
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7CC8#FFFFFF#000000##000000
##2F7CC81.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5881CB
Deuteranopia (green-blind)
#4173C7
Tritanopia (blue-blind)
#008E98
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2f7cc8;
/* rgb */ color: rgb(47, 124, 200);
/* oklch */ color: oklch(57.7% 0.139 251.4);
Tailwind
colors: {
  custom: {
    50: '#7da1d9',
    500: '#2f7cc8',
    950: '#000000',
  },
}
SCSS
$custom: #2f7cc8;
$custom-light: #7da1d9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7cc8",
  "rgb": {
    "r": 47,
    "g": 124,
    "b": 200
  },
  "hsl": {
    "h": 209.804,
    "s": 61.943,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57679,
    "c": 0.13892,
    "h": 251.4
  },
  "luminance": 0.1919
}

Semantic roles & 50–950 ramp

primary
#2F7CC8
secondary
#CFA984
accent
#9343E5
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #2F7CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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