#2F8FB3#2F8FB3

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

Color values

HEX#2F8FB3
RGBrgb(47, 143, 179)
HSLhsl(196, 58%, 44%)
HSVhsv(196, 74%, 70%)
CMYKcmyk(73.7%, 20.1%, 0%, 29.8%)
CIE-LABlab(55.59, -15.55, -26.83)
CIE-LCHlch(55.59, 31.01, 239.91°)
OKLaboklab(61.06% -0.0691 -0.0752)
OKLCHoklch(61.06% 0.102 227.4)
XYZxyz(19.1281, 23.5017, 46.1673)
Luminance0.2350 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8FB3 #B3532F
analogous
#2FB395 #2F8FB3 #2F4DB3
triadic
#2F8FB3 #B32F8F #8FB32F
tetradic
#2F8FB3 #952FB3 #B3532F #4DB32F
square
#2F8FB3 #952FB3 #B3532F #4DB32F
split-complementary
#2F8FB3 #B32F4D #B3952F
monochromatic
#164252 #226883 #2F8FB3 #4FADD1 #7FC4DD

Accessibility & contrast

On white

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

On black

5.70
#2F8FB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8FB3
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8FB3#FFFFFF#000000##000000
##2F8FB31.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f8fb3;
/* rgb */ color: rgb(47, 143, 179);
/* oklch */ color: oklch(61.1% 0.102 227.4);
Tailwind
colors: {
  custom: {
    50: '#7aafca',
    500: '#2f8fb3',
    950: '#000000',
  },
}
SCSS
$custom: #2f8fb3;
$custom-light: #7aafca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8fb3",
  "rgb": {
    "r": 47,
    "g": 143,
    "b": 179
  },
  "hsl": {
    "h": 196.364,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.61056,
    "c": 0.10216,
    "h": 227.4
  },
  "luminance": 0.23504
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F8FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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