#2F91BC#2F91BC

#2F91BC is a mid, moderate cyan. Relative luminance 0.245; OKLCH L 62.0% C 0.109 H 231.6°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#2F91BC
RGBrgb(47, 145, 188)
HSLhsl(198, 60%, 46%)
HSVhsv(198, 75%, 74%)
CMYKcmyk(75%, 22.9%, 0%, 26.3%)
CIE-LABlab(56.57, -13.57, -30.43)
CIE-LCHlch(56.57, 33.32, 245.96°)
OKLaboklab(61.97% -0.0678 -0.0856)
OKLCHoklch(61.97% 0.109 231.6)
XYZxyz(20.3711, 24.4836, 51.2194)
Luminance0.2449 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F91BC #BC5A2F
analogous
#2FBCA0 #2F91BC #2F4ABC
triadic
#2F91BC #BC2F91 #91BC2F
tetradic
#2F91BC #A02FBC #BC5A2F #4ABC2F
square
#2F91BC #A02FBC #BC5A2F #4ABC2F
split-complementary
#2F91BC #BC2F4A #BCA02F
monochromatic
#17455A #236B8B #2F91BC #54ADD4 #85C5E0

Accessibility & contrast

On white

3.56
#2F91BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#2F91BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F91BC
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F91BC#FFFFFF#000000##000000
##2F91BC1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8FBE
Deuteranopia (green-blind)
#6882BB
Tritanopia (blue-blind)
#009D9F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #2f91bc;
/* rgb */ color: rgb(47, 145, 188);
/* oklch */ color: oklch(62.0% 0.109 231.6);
Tailwind
colors: {
  custom: {
    50: '#7cb1d0',
    500: '#2f91bc',
    950: '#000000',
  },
}
SCSS
$custom: #2f91bc;
$custom-light: #7cb1d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f91bc",
  "rgb": {
    "r": 47,
    "g": 145,
    "b": 188
  },
  "hsl": {
    "h": 198.298,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.61966,
    "c": 0.10916,
    "h": 231.6
  },
  "luminance": 0.24486
}

Semantic roles & 50–950 ramp

primary
#2F91BC
secondary
#CA947D
accent
#7545E3
background
#F8FAFC
surface
#EFF5F9
border
#CACFD2
text
#0B1014
muted
#7C7F82

Preview Lab

Preview with #2F91BC

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

Preview Lab → · Contrast checker → · Palette generator →

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