#2F8BC1#2F8BC1

#2F8BC1 is a mid, moderate cyan. Relative luminance 0.229; OKLCH L 60.8% C 0.118 H 239.2°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#2F8BC1
RGBrgb(47, 139, 193)
HSLhsl(202, 61%, 47%)
HSVhsv(202, 76%, 76%)
CMYKcmyk(75.6%, 28%, 0%, 24.3%)
CIE-LABlab(54.99, -8.45, -35.73)
CIE-LCHlch(54.99, 36.72, 256.69°)
OKLaboklab(60.78% -0.0603 -0.101)
OKLCHoklch(60.78% 0.118 239.2)
XYZxyz(20.0268, 22.9175, 53.8098)
Luminance0.2292 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8BC1 #C1652F
analogous
#2FC1AE #2F8BC1 #2F42C1
triadic
#2F8BC1 #C12F8B #8BC12F
tetradic
#2F8BC1 #AE2FC1 #C1652F #42C12F
square
#2F8BC1 #AE2FC1 #C1652F #42C12F
split-complementary
#2F8BC1 #C12F42 #C1AE2F
monochromatic
#17445F #236890 #2F8BC1 #57A7D6 #88C1E2

Accessibility & contrast

On white

3.76
#2F8BC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#2F8BC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8BC1
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8BC1#FFFFFF#000000##000000
##2F8BC11.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#728BC3
Deuteranopia (green-blind)
#5E7EC0
Tritanopia (blue-blind)
#00999E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2f8bc1;
/* rgb */ color: rgb(47, 139, 193);
/* oklch */ color: oklch(60.8% 0.118 239.2);
Tailwind
colors: {
  custom: {
    50: '#7cacd4',
    500: '#2f8bc1',
    950: '#000000',
  },
}
SCSS
$custom: #2f8bc1;
$custom-light: #7cacd4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8bc1",
  "rgb": {
    "r": 47,
    "g": 139,
    "b": 193
  },
  "hsl": {
    "h": 202.192,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.60781,
    "c": 0.1176,
    "h": 239.2
  },
  "luminance": 0.2292
}

Semantic roles & 50–950 ramp

primary
#2F8BC1
secondary
#CC9C80
accent
#7F44E4
background
#F8FAFD
surface
#EFF4FA
border
#CACED3
text
#0B1014
muted
#7C7F83

Preview Lab

Preview with #2F8BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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