#2F91B7#2F91B7

#2F91B7 is a mid, moderate cyan. Relative luminance 0.243; OKLCH L 61.7% C 0.105 H 228.4°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#2F91B7
RGBrgb(47, 145, 183)
HSLhsl(197, 59%, 45%)
HSVhsv(197, 74%, 72%)
CMYKcmyk(74.3%, 20.8%, 0%, 28.2%)
CIE-LABlab(56.36, -15.28, -27.91)
CIE-LCHlch(56.36, 31.82, 241.30°)
OKLaboklab(61.73% -0.0696 -0.0783)
OKLCHoklch(61.73% 0.105 228.4)
XYZxyz(19.8415, 24.2717, 48.4298)
Luminance0.2427 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F91B7 #B7552F
analogous
#2FB799 #2F91B7 #2F4DB7
triadic
#2F91B7 #B72F91 #91B72F
tetradic
#2F91B7 #992FB7 #B7552F #4DB72F
square
#2F91B7 #992FB7 #B7552F #4DB72F
split-complementary
#2F91B7 #B72F4D #B7992F
monochromatic
#164456 #226A86 #2F91B7 #51AED2 #82C5DF

Accessibility & contrast

On white

3.59
#2F91B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#2F91B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F91B7
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F91B7#FFFFFF#000000##000000
##2F91B71.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f91b7;
/* rgb */ color: rgb(47, 145, 183);
/* oklch */ color: oklch(61.7% 0.105 228.4);
Tailwind
colors: {
  custom: {
    50: '#7bb1cc',
    500: '#2f91b7',
    950: '#000000',
  },
}
SCSS
$custom: #2f91b7;
$custom-light: #7bb1cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f91b7",
  "rgb": {
    "r": 47,
    "g": 145,
    "b": 183
  },
  "hsl": {
    "h": 196.765,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.61729,
    "c": 0.10479,
    "h": 228.4
  },
  "luminance": 0.24274
}

Semantic roles & 50–950 ramp

primary
#2F91B7
secondary
#C8907A
accent
#7145E2
background
#F8FAFC
surface
#EFF5F9
border
#CACFD2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #2F91B7

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

Preview Lab → · Contrast checker → · Palette generator →

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