#2F8EB2#2F8EB2

#2F8EB2 is a mid, moderate cyan. Relative luminance 0.232; OKLCH L 60.8% C 0.102 H 227.7°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#2F8EB2
RGBrgb(47, 142, 178)
HSLhsl(196, 58%, 44%)
HSVhsv(196, 74%, 70%)
CMYKcmyk(73.6%, 20.2%, 0%, 30.2%)
CIE-LABlab(55.24, -15.34, -26.79)
CIE-LCHlch(55.24, 30.87, 240.21°)
OKLaboklab(60.77% -0.0685 -0.0751)
OKLCHoklch(60.77% 0.102 227.7)
XYZxyz(18.8779, 23.1625, 45.5867)
Luminance0.2316 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8EB2 #B2532F
analogous
#2FB295 #2F8EB2 #2F4CB2
triadic
#2F8EB2 #B22F8E #8EB22F
tetradic
#2F8EB2 #952FB2 #B2532F #4CB22F
square
#2F8EB2 #952FB2 #B2532F #4CB22F
split-complementary
#2F8EB2 #B22F4C #B2952F
monochromatic
#154151 #226782 #2F8EB2 #4EACD0 #7EC3DD

Accessibility & contrast

On white

3.73
#2F8EB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#2F8EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8EB2
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8EB2#FFFFFF#000000##000000
##2F8EB21.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8BB4
Deuteranopia (green-blind)
#697FB2
Tritanopia (blue-blind)
#00989A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2f8eb2;
/* rgb */ color: rgb(47, 142, 178);
/* oklch */ color: oklch(60.8% 0.102 227.7);
Tailwind
colors: {
  custom: {
    50: '#7aafc9',
    500: '#2f8eb2',
    950: '#000000',
  },
}
SCSS
$custom: #2f8eb2;
$custom-light: #7aafc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8eb2",
  "rgb": {
    "r": 47,
    "g": 142,
    "b": 178
  },
  "hsl": {
    "h": 196.489,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.60766,
    "c": 0.10166,
    "h": 227.7
  },
  "luminance": 0.23165
}

Semantic roles & 50–950 ramp

primary
#2F8EB2
secondary
#C68D77
accent
#7146E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2F8EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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