#2F8CB3#2F8CB3

#2F8CB3 is a mid, moderate cyan. Relative luminance 0.226; OKLCH L 60.3% C 0.103 H 230.2°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#2F8CB3
RGBrgb(47, 140, 179)
HSLhsl(198, 58%, 44%)
HSVhsv(198, 74%, 70%)
CMYKcmyk(73.7%, 21.8%, 0%, 29.8%)
CIE-LABlab(54.67, -13.90, -28.24)
CIE-LCHlch(54.67, 31.48, 243.80°)
OKLaboklab(60.33% -0.0661 -0.0793)
OKLCHoklch(60.33% 0.103 230.2)
XYZxyz(18.6838, 22.6130, 46.0191)
Luminance0.2261 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8CB3 #B3562F
analogous
#2FB398 #2F8CB3 #2F4AB3
triadic
#2F8CB3 #B32F8C #8CB32F
tetradic
#2F8CB3 #982FB3 #B3562F #4AB32F
square
#2F8CB3 #982FB3 #B3562F #4AB32F
split-complementary
#2F8CB3 #B32F4A #B3982F
monochromatic
#164052 #226683 #2F8CB3 #4FAAD1 #7FC2DD

Accessibility & contrast

On white

3.80
#2F8CB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#2F8CB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8CB3
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8CB3#FFFFFF#000000##000000
##2F8CB31.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#788AB5
Deuteranopia (green-blind)
#667DB2
Tritanopia (blue-blind)
#009799
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2f8cb3;
/* rgb */ color: rgb(47, 140, 179);
/* oklch */ color: oklch(60.3% 0.103 230.2);
Tailwind
colors: {
  custom: {
    50: '#7aadca',
    500: '#2f8cb3',
    950: '#000000',
  },
}
SCSS
$custom: #2f8cb3;
$custom-light: #7aadca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8cb3",
  "rgb": {
    "r": 47,
    "g": 140,
    "b": 179
  },
  "hsl": {
    "h": 197.727,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.60326,
    "c": 0.10325,
    "h": 230.2
  },
  "luminance": 0.22615
}

Semantic roles & 50–950 ramp

primary
#2F8CB3
secondary
#C68F78
accent
#7446E2
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2F8CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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