#2F91BB#2F91BB

#2F91BB is a mid, moderate cyan. Relative luminance 0.244; OKLCH L 61.9% C 0.108 H 231.0°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#2F91BB
RGBrgb(47, 145, 187)
HSLhsl(198, 60%, 46%)
HSVhsv(198, 75%, 73%)
CMYKcmyk(74.9%, 22.5%, 0%, 26.7%)
CIE-LABlab(56.53, -13.92, -29.92)
CIE-LCHlch(56.53, 33.00, 245.06°)
OKLaboklab(61.92% -0.0681 -0.0841)
OKLCHoklch(61.92% 0.108 231)
XYZxyz(20.2637, 24.4406, 50.6536)
Luminance0.2444 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F91BB #BB592F
analogous
#2FBB9F #2F91BB #2F4BBB
triadic
#2F91BB #BB2F91 #91BB2F
tetradic
#2F91BB #9F2FBB #BB592F #4BBB2F
square
#2F91BB #9F2FBB #BB592F #4BBB2F
split-complementary
#2F91BB #BB2F4B #BB9F2F
monochromatic
#164559 #236B8A #2F91BB #53ADD4 #84C5E0

Accessibility & contrast

On white

3.57
#2F91BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#2F91BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F91BB
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F91BB#FFFFFF#000000##000000
##2F91BB1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8FBD
Deuteranopia (green-blind)
#6982BA
Tritanopia (blue-blind)
#009C9F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #2f91bb;
/* rgb */ color: rgb(47, 145, 187);
/* oklch */ color: oklch(61.9% 0.108 231.0);
Tailwind
colors: {
  custom: {
    50: '#7bb1cf',
    500: '#2f91bb',
    950: '#000000',
  },
}
SCSS
$custom: #2f91bb;
$custom-light: #7bb1cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f91bb",
  "rgb": {
    "r": 47,
    "g": 145,
    "b": 187
  },
  "hsl": {
    "h": 198,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.61918,
    "c": 0.10826,
    "h": 231
  },
  "luminance": 0.24443
}

Semantic roles & 50–950 ramp

primary
#2F91BB
secondary
#C9937C
accent
#7445E3
background
#F8FAFC
surface
#EFF5F9
border
#CACFD2
text
#0B1014
muted
#7C7F82

Preview Lab

Preview with #2F91BB

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

Preview Lab → · Contrast checker → · Palette generator →

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