#2F8EB4#2F8EB4

#2F8EB4 is a mid, moderate cyan. Relative luminance 0.232; OKLCH L 60.9% C 0.103 H 229.1°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#2F8EB4
RGBrgb(47, 142, 180)
HSLhsl(197, 59%, 45%)
HSVhsv(197, 74%, 71%)
CMYKcmyk(73.9%, 21.1%, 0%, 29.4%)
CIE-LABlab(55.32, -14.66, -27.81)
CIE-LCHlch(55.32, 31.43, 242.20°)
OKLaboklab(60.86% -0.0677 -0.0781)
OKLCHoklch(60.86% 0.103 229.1)
XYZxyz(19.0802, 23.2434, 46.6520)
Luminance0.2325 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8EB4 #B4552F
analogous
#2FB498 #2F8EB4 #2F4CB4
triadic
#2F8EB4 #B42F8E #8EB42F
tetradic
#2F8EB4 #982FB4 #B4552F #4CB42F
square
#2F8EB4 #982FB4 #B4552F #4CB42F
split-complementary
#2F8EB4 #B42F4C #B4982F
monochromatic
#164153 #226883 #2F8EB4 #4FACD1 #80C3DE

Accessibility & contrast

On white

3.72
#2F8EB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#2F8EB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8EB4
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8EB4#FFFFFF#000000##000000
##2F8EB41.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8CB6
Deuteranopia (green-blind)
#687FB3
Tritanopia (blue-blind)
#00999B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2f8eb4;
/* rgb */ color: rgb(47, 142, 180);
/* oklch */ color: oklch(60.9% 0.103 229.1);
Tailwind
colors: {
  custom: {
    50: '#7aafca',
    500: '#2f8eb4',
    950: '#000000',
  },
}
SCSS
$custom: #2f8eb4;
$custom-light: #7aafca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8eb4",
  "rgb": {
    "r": 47,
    "g": 142,
    "b": 180
  },
  "hsl": {
    "h": 197.143,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.60859,
    "c": 0.10334,
    "h": 229.1
  },
  "luminance": 0.23246
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F8EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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