#2F91AB#2F91AB

#2F91AB is a mid, moderate cyan. Relative luminance 0.238; OKLCH L 61.2% C 0.096 H 219.4°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#2F91AB
RGBrgb(47, 145, 171)
HSLhsl(193, 57%, 43%)
HSVhsv(193, 73%, 67%)
CMYKcmyk(72.5%, 15.2%, 0%, 32.9%)
CIE-LABlab(55.88, -19.31, -21.81)
CIE-LCHlch(55.88, 29.12, 228.48°)
OKLaboklab(61.19% -0.0742 -0.0609)
OKLCHoklch(61.19% 0.096 219.4)
XYZxyz(18.6453, 23.7932, 42.1301)
Luminance0.2379 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F91AB #AB492F
analogous
#2FAB87 #2F91AB #2F53AB
triadic
#2F91AB #AB2F91 #91AB2F
tetradic
#2F91AB #872FAB #AB492F #53AB2F
square
#2F91AB #872FAB #AB492F #53AB2F
split-complementary
#2F91AB #AB2F53 #AB872F
monochromatic
#15404B #22687B #2F91AB #4AB2CD #7AC6DA

Accessibility & contrast

On white

3.65
#2F91AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#2F91AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F91AB
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F91AB#FFFFFF#000000##000000
##2F91AB1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#818DAC
Deuteranopia (green-blind)
#7080AB
Tritanopia (blue-blind)
#009A99
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2f91ab;
/* rgb */ color: rgb(47, 145, 171);
/* oklch */ color: oklch(61.2% 0.096 219.4);
Tailwind
colors: {
  custom: {
    50: '#79b1c4',
    500: '#2f91ab',
    950: '#000000',
  },
}
SCSS
$custom: #2f91ab;
$custom-light: #79b1c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f91ab",
  "rgb": {
    "r": 47,
    "g": 145,
    "b": 171
  },
  "hsl": {
    "h": 192.581,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.61187,
    "c": 0.09599,
    "h": 219.4
  },
  "luminance": 0.23795
}

Semantic roles & 50–950 ramp

primary
#2F91AB
secondary
#C38473
accent
#6848E0
background
#F7FAFC
surface
#EEF5F8
border
#C9CFD1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2F91AB

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

Preview Lab → · Contrast checker → · Palette generator →

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