#2F87C9#2F87C9

#2F87C9 is a mid, vivid cyan. Relative luminance 0.221; OKLCH L 60.3% C 0.130 H 245.4°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#2F87C9
RGBrgb(47, 135, 201)
HSLhsl(206, 62%, 49%)
HSVhsv(206, 77%, 79%)
CMYKcmyk(76.6%, 32.8%, 0%, 21.2%)
CIE-LABlab(54.18, -3.27, -41.54)
CIE-LCHlch(54.18, 41.67, 265.50°)
OKLaboklab(60.27% -0.0541 -0.1179)
OKLCHoklch(60.27% 0.13 245.4)
XYZxyz(20.3748, 22.1469, 58.4480)
Luminance0.2215 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F87C9 #C9712F
analogous
#2FC9BE #2F87C9 #2F3AC9
triadic
#2F87C9 #C92F87 #87C92F
tetradic
#2F87C9 #BE2FC9 #C9712F #3AC92F
square
#2F87C9 #BE2FC9 #C9712F #3AC92F
split-complementary
#2F87C9 #C92F3A #C9BE2F
monochromatic
#184466 #236697 #2F87C9 #5CA4D9 #8EBFE5

Accessibility & contrast

On white

3.87
#2F87C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#2F87C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F87C9
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F87C9#FFFFFF#000000##000000
##2F87C91.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6889CC
Deuteranopia (green-blind)
#537BC8
Tritanopia (blue-blind)
#00979F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2f87c9;
/* rgb */ color: rgb(47, 135, 201);
/* oklch */ color: oklch(60.3% 0.130 245.4);
Tailwind
colors: {
  custom: {
    50: '#7da9da',
    500: '#2f87c9',
    950: '#000000',
  },
}
SCSS
$custom: #2f87c9;
$custom-light: #7da9da;
$custom-dark: #000000;
JSON
{
  "hex": "#2f87c9",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 201
  },
  "hsl": {
    "h": 205.714,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.6027,
    "c": 0.12974,
    "h": 245.4
  },
  "luminance": 0.22149
}

Semantic roles & 50–950 ramp

primary
#2F87C9
secondary
#CFA585
accent
#8843E5
background
#F8FAFD
surface
#EFF4FA
border
#CACED3
text
#0B0F15
muted
#7C7F83

Preview Lab

Preview with #2F87C9

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

Preview Lab → · Contrast checker → · Palette generator →

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