#2F8FB4#2F8FB4

#2F8FB4 is a mid, moderate cyan. Relative luminance 0.235; OKLCH L 61.1% C 0.103 H 228.1°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#2F8FB4
RGBrgb(47, 143, 180)
HSLhsl(197, 59%, 45%)
HSVhsv(197, 74%, 71%)
CMYKcmyk(73.9%, 20.6%, 0%, 29.4%)
CIE-LABlab(55.63, -15.21, -27.34)
CIE-LCHlch(55.63, 31.28, 240.91°)
OKLaboklab(61.1% -0.0687 -0.0767)
OKLCHoklch(61.1% 0.103 228.1)
XYZxyz(19.2296, 23.5423, 46.7018)
Luminance0.2354 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8FB4 #B4542F
analogous
#2FB497 #2F8FB4 #2F4CB4
triadic
#2F8FB4 #B42F8F #8FB42F
tetradic
#2F8FB4 #972FB4 #B4542F #4CB42F
square
#2F8FB4 #972FB4 #B4542F #4CB42F
split-complementary
#2F8FB4 #B42F4C #B4972F
monochromatic
#164253 #226883 #2F8FB4 #4FADD1 #80C4DE

Accessibility & contrast

On white

3.68
#2F8FB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#2F8FB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8FB4
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8FB4#FFFFFF#000000##000000
##2F8FB41.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8DB6
Deuteranopia (green-blind)
#6A80B4
Tritanopia (blue-blind)
#00999B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2f8fb4;
/* rgb */ color: rgb(47, 143, 180);
/* oklch */ color: oklch(61.1% 0.103 228.1);
Tailwind
colors: {
  custom: {
    50: '#7aafca',
    500: '#2f8fb4',
    950: '#000000',
  },
}
SCSS
$custom: #2f8fb4;
$custom-light: #7aafca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8fb4",
  "rgb": {
    "r": 47,
    "g": 143,
    "b": 180
  },
  "hsl": {
    "h": 196.692,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.61103,
    "c": 0.10298,
    "h": 228.1
  },
  "luminance": 0.23545
}

Semantic roles & 50–950 ramp

primary
#2F8FB4
secondary
#C78E78
accent
#7146E2
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #2F8FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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