#2F8FB5#2F8FB5

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

Color values

HEX#2F8FB5
RGBrgb(47, 143, 181)
HSLhsl(197, 59%, 45%)
HSVhsv(197, 74%, 71%)
CMYKcmyk(74%, 21%, 0%, 29%)
CIE-LABlab(55.67, -14.87, -27.84)
CIE-LCHlch(55.67, 31.56, 241.90°)
OKLaboklab(61.15% -0.0683 -0.0781)
OKLCHoklch(61.15% 0.104 228.8)
XYZxyz(19.3319, 23.5832, 47.2403)
Luminance0.2359 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8FB5 #B5552F
analogous
#2FB598 #2F8FB5 #2F4CB5
triadic
#2F8FB5 #B52F8F #8FB52F
tetradic
#2F8FB5 #982FB5 #B5552F #4CB52F
square
#2F8FB5 #982FB5 #B5552F #4CB52F
split-complementary
#2F8FB5 #B52F4C #B5982F
monochromatic
#164254 #226984 #2F8FB5 #50ADD1 #80C4DE

Accessibility & contrast

On white

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

On black

5.72
#2F8FB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8FB5
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8FB5#FFFFFF#000000##000000
##2F8FB51.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f8fb5;
/* rgb */ color: rgb(47, 143, 181);
/* oklch */ color: oklch(61.2% 0.104 228.8);
Tailwind
colors: {
  custom: {
    50: '#7aafcb',
    500: '#2f8fb5',
    950: '#000000',
  },
}
SCSS
$custom: #2f8fb5;
$custom-light: #7aafcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8fb5",
  "rgb": {
    "r": 47,
    "g": 143,
    "b": 181
  },
  "hsl": {
    "h": 197.015,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.6115,
    "c": 0.10382,
    "h": 228.8
  },
  "luminance": 0.23585
}

Semantic roles & 50–950 ramp

primary
#2F8FB5
secondary
#C78F79
accent
#7246E2
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #2F8FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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