#2F8BC9#2F8BC9

#2F8BC9 is a mid, vivid cyan. Relative luminance 0.233; OKLCH L 61.2% C 0.126 H 242.8°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#2F8BC9
RGBrgb(47, 139, 201)
HSLhsl(204, 62%, 49%)
HSVhsv(204, 77%, 79%)
CMYKcmyk(76.6%, 30.8%, 0%, 21.2%)
CIE-LABlab(55.36, -5.60, -39.68)
CIE-LCHlch(55.36, 40.07, 261.96°)
OKLaboklab(61.2% -0.0577 -0.1125)
OKLCHoklch(61.2% 0.126 242.8)
XYZxyz(20.9434, 23.2841, 58.6375)
Luminance0.2329 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8BC9 #C96D2F
analogous
#2FC9BA #2F8BC9 #2F3EC9
triadic
#2F8BC9 #C92F8B #8BC92F
tetradic
#2F8BC9 #BA2FC9 #C96D2F #3EC92F
square
#2F8BC9 #BA2FC9 #C96D2F #3EC92F
split-complementary
#2F8BC9 #C92F3E #C9BA2F
monochromatic
#184666 #236997 #2F8BC9 #5CA7D9 #8EC2E5

Accessibility & contrast

On white

3.71
#2F8BC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#2F8BC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8BC9
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8BC9#FFFFFF#000000##000000
##2F8BC91.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8CCC
Deuteranopia (green-blind)
#597EC8
Tritanopia (blue-blind)
#009AA1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2f8bc9;
/* rgb */ color: rgb(47, 139, 201);
/* oklch */ color: oklch(61.2% 0.126 242.8);
Tailwind
colors: {
  custom: {
    50: '#7dacd9',
    500: '#2f8bc9',
    950: '#000000',
  },
}
SCSS
$custom: #2f8bc9;
$custom-light: #7dacd9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8bc9",
  "rgb": {
    "r": 47,
    "g": 139,
    "b": 201
  },
  "hsl": {
    "h": 204.156,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.61203,
    "c": 0.12642,
    "h": 242.8
  },
  "luminance": 0.23287
}

Semantic roles & 50–950 ramp

primary
#2F8BC9
secondary
#CFA385
accent
#8443E5
background
#F8FAFD
surface
#EFF4FA
border
#CACED3
text
#0B1014
muted
#7C7F83

Preview Lab

Preview with #2F8BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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