#2F7BC8#2F7BC8

#2F7BC8 is a mid, vivid cyan. Relative luminance 0.189; OKLCH L 57.5% C 0.140 H 251.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2F7BC8
RGBrgb(47, 123, 200)
HSLhsl(210, 62%, 48%)
HSVhsv(210, 77%, 78%)
CMYKcmyk(76.5%, 38.5%, 0%, 21.6%)
CIE-LABlab(50.61, 3.55, -46.62)
CIE-LCHlch(50.61, 46.76, 274.36°)
OKLaboklab(57.45% -0.0435 -0.133)
OKLCHoklch(57.45% 0.14 251.9)
XYZxyz(18.6767, 18.9382, 57.3035)
Luminance0.1894 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7BC8 #C87C2F
analogous
#2FC7C8 #2F7BC8 #2F2FC8
triadic
#2F7BC8 #C82F7B #7BC82F
tetradic
#2F7BC8 #C82FC7 #C87C2F #2FC82F
square
#2F7BC8 #C82FC7 #C87C2F #2FC82F
split-complementary
#2F7BC8 #C82F2F #C7C82F
monochromatic
#183E65 #235D96 #2F7BC8 #5C9AD9 #8DB8E4

Accessibility & contrast

On white

4.39
#2F7BC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#2F7BC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7BC8
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7BC8#FFFFFF#000000##000000
##2F7BC81.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5780CB
Deuteranopia (green-blind)
#3F72C6
Tritanopia (blue-blind)
#008D98
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f7bc8;
/* rgb */ color: rgb(47, 123, 200);
/* oklch */ color: oklch(57.5% 0.140 251.9);
Tailwind
colors: {
  custom: {
    50: '#7da0d9',
    500: '#2f7bc8',
    950: '#000000',
  },
}
SCSS
$custom: #2f7bc8;
$custom-light: #7da0d9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7bc8",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 200
  },
  "hsl": {
    "h": 210.196,
    "s": 61.943,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57451,
    "c": 0.13994,
    "h": 251.9
  },
  "luminance": 0.1894
}

Semantic roles & 50–950 ramp

primary
#2F7BC8
secondary
#CFAA84
accent
#9443E5
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #2F7BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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