#2F8CC9#2F8CC9

#2F8CC9 is a mid, vivid cyan. Relative luminance 0.236; OKLCH L 61.4% C 0.126 H 242.2°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#2F8CC9
RGBrgb(47, 140, 201)
HSLhsl(204, 62%, 49%)
HSVhsv(204, 77%, 79%)
CMYKcmyk(76.6%, 30.3%, 0%, 21.2%)
CIE-LABlab(55.66, -6.18, -39.21)
CIE-LCHlch(55.66, 39.70, 261.04°)
OKLaboklab(61.44% -0.0587 -0.1111)
OKLCHoklch(61.44% 0.126 242.2)
XYZxyz(21.0889, 23.5750, 58.6860)
Luminance0.2358 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8CC9 #C96C2F
analogous
#2FC9B9 #2F8CC9 #2F3FC9
triadic
#2F8CC9 #C92F8C #8CC92F
tetradic
#2F8CC9 #B92FC9 #C96C2F #3FC92F
square
#2F8CC9 #B92FC9 #C96C2F #3FC92F
split-complementary
#2F8CC9 #C92F3F #C9B92F
monochromatic
#184766 #236997 #2F8CC9 #5CA8D9 #8EC2E5

Accessibility & contrast

On white

3.67
#2F8CC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#2F8CC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8CC9
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8CC9#FFFFFF#000000##000000
##2F8CC91.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#708DCC
Deuteranopia (green-blind)
#5A7FC8
Tritanopia (blue-blind)
#009BA2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2f8cc9;
/* rgb */ color: rgb(47, 140, 201);
/* oklch */ color: oklch(61.4% 0.126 242.2);
Tailwind
colors: {
  custom: {
    50: '#7dadd9',
    500: '#2f8cc9',
    950: '#000000',
  },
}
SCSS
$custom: #2f8cc9;
$custom-light: #7dadd9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8cc9",
  "rgb": {
    "r": 47,
    "g": 140,
    "b": 201
  },
  "hsl": {
    "h": 203.766,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.61437,
    "c": 0.12563,
    "h": 242.2
  },
  "luminance": 0.23578
}

Semantic roles & 50–950 ramp

primary
#2F8CC9
secondary
#CFA285
accent
#8343E5
background
#F8FAFD
surface
#EFF4FA
border
#CACED3
text
#0B1014
muted
#7C7F83

Preview Lab

Preview with #2F8CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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