#2F91AC#2F91AC

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

Color values

HEX#2F91AC
RGBrgb(47, 145, 172)
HSLhsl(193, 57%, 43%)
HSVhsv(193, 73%, 67%)
CMYKcmyk(72.7%, 15.7%, 0%, 32.5%)
CIE-LABlab(55.92, -18.98, -22.32)
CIE-LCHlch(55.92, 29.30, 229.63°)
OKLaboklab(61.23% -0.0738 -0.0623)
OKLCHoklch(61.23% 0.097 220.2)
XYZxyz(18.7410, 23.8315, 42.6340)
Luminance0.2383 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F91AC #AC4A2F
analogous
#2FAC88 #2F91AC #2F52AC
triadic
#2F91AC #AC2F91 #91AC2F
tetradic
#2F91AC #882FAC #AC4A2F #52AC2F
square
#2F91AC #882FAC #AC4A2F #52AC2F
split-complementary
#2F91AC #AC2F52 #AC882F
monochromatic
#15404C #22687C #2F91AC #4BB1CE #7BC6DB

Accessibility & contrast

On white

3.64
#2F91AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#2F91AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F91AC
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F91AC#FFFFFF#000000##000000
##2F91AC1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#818DAD
Deuteranopia (green-blind)
#6F81AC
Tritanopia (blue-blind)
#009A9A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #2f91ac;
/* rgb */ color: rgb(47, 145, 172);
/* oklch */ color: oklch(61.2% 0.097 220.2);
Tailwind
colors: {
  custom: {
    50: '#79b1c4',
    500: '#2f91ac',
    950: '#000000',
  },
}
SCSS
$custom: #2f91ac;
$custom-light: #79b1c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f91ac",
  "rgb": {
    "r": 47,
    "g": 145,
    "b": 172
  },
  "hsl": {
    "h": 192.96,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.61231,
    "c": 0.09663,
    "h": 220.2
  },
  "luminance": 0.23834
}

Semantic roles & 50–950 ramp

primary
#2F91AC
secondary
#C38574
accent
#6847E0
background
#F8FAFC
surface
#EFF5F8
border
#CACFD1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2F91AC

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

Preview Lab → · Contrast checker → · Palette generator →

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