#2F8DB1#2F8DB1

#2F8DB1 is a mid, moderate cyan. Relative luminance 0.228; OKLCH L 60.5% C 0.101 H 227.9°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#2F8DB1
RGBrgb(47, 141, 177)
HSLhsl(197, 58%, 44%)
HSVhsv(197, 73%, 69%)
CMYKcmyk(73.4%, 20.3%, 0%, 30.6%)
CIE-LABlab(54.89, -15.13, -26.76)
CIE-LCHlch(54.89, 30.74, 240.51°)
OKLaboklab(60.48% -0.0678 -0.075)
OKLCHoklch(60.48% 0.101 227.9)
XYZxyz(18.6298, 22.8263, 45.0105)
Luminance0.2283 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8DB1 #B1532F
analogous
#2FB194 #2F8DB1 #2F4CB1
triadic
#2F8DB1 #B12F8D #8DB12F
tetradic
#2F8DB1 #942FB1 #B1532F #4CB12F
square
#2F8DB1 #942FB1 #B1532F #4CB12F
split-complementary
#2F8DB1 #B12F4C #B1942F
monochromatic
#154050 #226681 #2F8DB1 #4DACD0 #7EC2DD

Accessibility & contrast

On white

3.77
#2F8DB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#2F8DB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8DB1
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8DB1#FFFFFF#000000##000000
##2F8DB11.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8BB3
Deuteranopia (green-blind)
#687EB1
Tritanopia (blue-blind)
#009799
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2f8db1;
/* rgb */ color: rgb(47, 141, 177);
/* oklch */ color: oklch(60.5% 0.101 227.9);
Tailwind
colors: {
  custom: {
    50: '#7aaec8',
    500: '#2f8db1',
    950: '#000000',
  },
}
SCSS
$custom: #2f8db1;
$custom-light: #7aaec8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8db1",
  "rgb": {
    "r": 47,
    "g": 141,
    "b": 177
  },
  "hsl": {
    "h": 196.615,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.60475,
    "c": 0.10117,
    "h": 227.9
  },
  "luminance": 0.22828
}

Semantic roles & 50–950 ramp

primary
#2F8DB1
secondary
#C58C76
accent
#7147E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2F8DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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