#2F91B8#2F91B8

#2F91B8 is a mid, moderate cyan. Relative luminance 0.243; OKLCH L 61.8% C 0.106 H 229.1°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#2F91B8
RGBrgb(47, 145, 184)
HSLhsl(197, 59%, 45%)
HSVhsv(197, 74%, 72%)
CMYKcmyk(74.5%, 21.2%, 0%, 27.8%)
CIE-LABlab(56.40, -14.94, -28.42)
CIE-LCHlch(56.40, 32.11, 242.26°)
OKLaboklab(61.78% -0.0692 -0.0798)
OKLCHoklch(61.78% 0.106 229.1)
XYZxyz(19.9459, 24.3135, 48.9799)
Luminance0.2432 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F91B8 #B8562F
analogous
#2FB89A #2F91B8 #2F4DB8
triadic
#2F91B8 #B82F91 #91B82F
tetradic
#2F91B8 #9A2FB8 #B8562F #4DB82F
square
#2F91B8 #9A2FB8 #B8562F #4DB82F
split-complementary
#2F91B8 #B82F4D #B89A2F
monochromatic
#164457 #236B87 #2F91B8 #52AED3 #82C5DF

Accessibility & contrast

On white

3.58
#2F91B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#2F91B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F91B8
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F91B8#FFFFFF#000000##000000
##2F91B81.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D8FBA
Deuteranopia (green-blind)
#6A81B7
Tritanopia (blue-blind)
#009C9E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #2f91b8;
/* rgb */ color: rgb(47, 145, 184);
/* oklch */ color: oklch(61.8% 0.106 229.1);
Tailwind
colors: {
  custom: {
    50: '#7bb1cd',
    500: '#2f91b8',
    950: '#000000',
  },
}
SCSS
$custom: #2f91b8;
$custom-light: #7bb1cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f91b8",
  "rgb": {
    "r": 47,
    "g": 145,
    "b": 184
  },
  "hsl": {
    "h": 197.08,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.61776,
    "c": 0.10563,
    "h": 229.1
  },
  "luminance": 0.24316
}

Semantic roles & 50–950 ramp

primary
#2F91B8
secondary
#C8917B
accent
#7245E2
background
#F8FAFC
surface
#EFF5F9
border
#CACFD2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #2F91B8

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

Preview Lab → · Contrast checker → · Palette generator →

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