#2F8DB4#2F8DB4

#2F8DB4 is a mid, moderate cyan. Relative luminance 0.229; OKLCH L 60.6% C 0.104 H 230.0°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#2F8DB4
RGBrgb(47, 141, 180)
HSLhsl(198, 59%, 45%)
HSVhsv(198, 74%, 71%)
CMYKcmyk(73.9%, 21.7%, 0%, 29.4%)
CIE-LABlab(55.02, -14.11, -28.28)
CIE-LCHlch(55.02, 31.60, 243.49°)
OKLaboklab(60.62% -0.0667 -0.0794)
OKLCHoklch(60.62% 0.104 230)
XYZxyz(18.9321, 22.9472, 46.6026)
Luminance0.2295 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8DB4 #B4562F
analogous
#2FB499 #2F8DB4 #2F4BB4
triadic
#2F8DB4 #B42F8D #8DB42F
tetradic
#2F8DB4 #992FB4 #B4562F #4BB42F
square
#2F8DB4 #992FB4 #B4562F #4BB42F
split-complementary
#2F8DB4 #B42F4B #B4992F
monochromatic
#164153 #226783 #2F8DB4 #4FABD1 #80C2DE

Accessibility & contrast

On white

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

On black

5.59
#2F8DB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8DB4
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8DB4#FFFFFF#000000##000000
##2F8DB41.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#798BB6
Deuteranopia (green-blind)
#677EB3
Tritanopia (blue-blind)
#00989A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2f8db4;
/* rgb */ color: rgb(47, 141, 180);
/* oklch */ color: oklch(60.6% 0.104 230.0);
Tailwind
colors: {
  custom: {
    50: '#7aaeca',
    500: '#2f8db4',
    950: '#000000',
  },
}
SCSS
$custom: #2f8db4;
$custom-light: #7aaeca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8db4",
  "rgb": {
    "r": 47,
    "g": 141,
    "b": 180
  },
  "hsl": {
    "h": 197.594,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.60616,
    "c": 0.10373,
    "h": 230
  },
  "luminance": 0.22949
}

Semantic roles & 50–950 ramp

primary
#2F8DB4
secondary
#C78F78
accent
#7446E2
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #2F8DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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