#2F8FB1#2F8FB1

#2F8FB1 is a mid, moderate cyan. Relative luminance 0.234; OKLCH L 61.0% C 0.101 H 226.0°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#2F8FB1
RGBrgb(47, 143, 177)
HSLhsl(196, 58%, 44%)
HSVhsv(196, 73%, 69%)
CMYKcmyk(73.4%, 19.2%, 0%, 30.6%)
CIE-LABlab(55.50, -16.23, -25.81)
CIE-LCHlch(55.50, 30.49, 237.85°)
OKLaboklab(60.96% -0.0698 -0.0723)
OKLCHoklch(60.96% 0.101 226)
XYZxyz(18.9273, 23.4214, 45.1097)
Luminance0.2342 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8FB1 #B1512F
analogous
#2FB192 #2F8FB1 #2F4EB1
triadic
#2F8FB1 #B12F8F #8FB12F
tetradic
#2F8FB1 #922FB1 #B1512F #4EB12F
square
#2F8FB1 #922FB1 #B1512F #4EB12F
split-complementary
#2F8FB1 #B12F4E #B1922F
monochromatic
#154150 #226881 #2F8FB1 #4DAED0 #7EC4DD

Accessibility & contrast

On white

3.69
#2F8FB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#2F8FB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8FB1
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8FB1#FFFFFF#000000##000000
##2F8FB11.003.695.685.68
#FFFFFF3.691.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D8CB3
Deuteranopia (green-blind)
#6B7FB1
Tritanopia (blue-blind)
#00999A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2f8fb1;
/* rgb */ color: rgb(47, 143, 177);
/* oklch */ color: oklch(61.0% 0.101 226.0);
Tailwind
colors: {
  custom: {
    50: '#7aafc8',
    500: '#2f8fb1',
    950: '#000000',
  },
}
SCSS
$custom: #2f8fb1;
$custom-light: #7aafc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8fb1",
  "rgb": {
    "r": 47,
    "g": 143,
    "b": 177
  },
  "hsl": {
    "h": 195.692,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.60964,
    "c": 0.10055,
    "h": 226
  },
  "luminance": 0.23424
}

Semantic roles & 50–950 ramp

primary
#2F8FB1
secondary
#C58B76
accent
#6F47E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2F8FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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