#2F7AC8#2F7AC8

#2F7AC8 is a mid, vivid cyan. Relative luminance 0.187; OKLCH L 57.2% C 0.141 H 252.4°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2F7AC8
RGBrgb(47, 122, 200)
HSLhsl(211, 62%, 48%)
HSVhsv(211, 77%, 78%)
CMYKcmyk(76.5%, 39%, 0%, 21.6%)
CIE-LABlab(50.32, 4.16, -47.08)
CIE-LCHlch(50.32, 47.27, 275.05°)
OKLaboklab(57.22% -0.0426 -0.1344)
OKLCHoklch(57.22% 0.141 252.4)
XYZxyz(18.5532, 18.6914, 57.2624)
Luminance0.1869 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7AC8 #C87D2F
analogous
#2FC6C8 #2F7AC8 #302FC8
triadic
#2F7AC8 #C82F7A #7AC82F
tetradic
#2F7AC8 #C82FC6 #C87D2F #2FC830
square
#2F7AC8 #C82FC6 #C87D2F #2FC830
split-complementary
#2F7AC8 #C8302F #C6C82F
monochromatic
#183E65 #235C96 #2F7AC8 #5C99D9 #8DB8E4

Accessibility & contrast

On white

4.43
#2F7AC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#2F7AC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7AC8
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7AC8#FFFFFF#000000##000000
##2F7AC81.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#557FCB
Deuteranopia (green-blind)
#3D71C6
Tritanopia (blue-blind)
#008C97
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f7ac8;
/* rgb */ color: rgb(47, 122, 200);
/* oklch */ color: oklch(57.2% 0.141 252.4);
Tailwind
colors: {
  custom: {
    50: '#7da0d9',
    500: '#2f7ac8',
    950: '#000000',
  },
}
SCSS
$custom: #2f7ac8;
$custom-light: #7da0d9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7ac8",
  "rgb": {
    "r": 47,
    "g": 122,
    "b": 200
  },
  "hsl": {
    "h": 210.588,
    "s": 61.943,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57224,
    "c": 0.14098,
    "h": 252.4
  },
  "luminance": 0.18694
}

Semantic roles & 50–950 ramp

primary
#2F7AC8
secondary
#CFAA84
accent
#9543E5
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2F7AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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