#2F8FB6#2F8FB6

#2F8FB6 is a mid, moderate cyan. Relative luminance 0.236; OKLCH L 61.2% C 0.105 H 229.5°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#2F8FB6
RGBrgb(47, 143, 182)
HSLhsl(197, 59%, 45%)
HSVhsv(197, 74%, 71%)
CMYKcmyk(74.2%, 21.4%, 0%, 28.6%)
CIE-LABlab(55.71, -14.53, -28.35)
CIE-LCHlch(55.71, 31.85, 242.87°)
OKLaboklab(61.2% -0.068 -0.0796)
OKLCHoklch(61.2% 0.105 229.5)
XYZxyz(19.4348, 23.6244, 47.7826)
Luminance0.2363 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8FB6 #B6562F
analogous
#2FB699 #2F8FB6 #2F4CB6
triadic
#2F8FB6 #B62F8F #8FB62F
tetradic
#2F8FB6 #992FB6 #B6562F #4CB62F
square
#2F8FB6 #992FB6 #B6562F #4CB62F
split-complementary
#2F8FB6 #B62F4C #B6992F
monochromatic
#164355 #226985 #2F8FB6 #50ACD2 #81C3DE

Accessibility & contrast

On white

3.67
#2F8FB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#2F8FB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8FB6
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8FB6#FFFFFF#000000##000000
##2F8FB61.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8DB8
Deuteranopia (green-blind)
#6980B5
Tritanopia (blue-blind)
#009A9C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2f8fb6;
/* rgb */ color: rgb(47, 143, 182);
/* oklch */ color: oklch(61.2% 0.105 229.5);
Tailwind
colors: {
  custom: {
    50: '#7aafcc',
    500: '#2f8fb6',
    950: '#000000',
  },
}
SCSS
$custom: #2f8fb6;
$custom-light: #7aafcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8fb6",
  "rgb": {
    "r": 47,
    "g": 143,
    "b": 182
  },
  "hsl": {
    "h": 197.333,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.61197,
    "c": 0.10469,
    "h": 229.5
  },
  "luminance": 0.23627
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F8FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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