#2F91BA#2F91BA

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

Color values

HEX#2F91BA
RGBrgb(47, 145, 186)
HSLhsl(198, 60%, 46%)
HSVhsv(198, 75%, 73%)
CMYKcmyk(74.7%, 22%, 0%, 27.1%)
CIE-LABlab(56.48, -14.26, -29.42)
CIE-LCHlch(56.48, 32.70, 244.14°)
OKLaboklab(61.87% -0.0685 -0.0827)
OKLCHoklch(61.87% 0.107 230.4)
XYZxyz(20.1570, 24.3979, 50.0918)
Luminance0.2440 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F91BA #BA582F
analogous
#2FBA9D #2F91BA #2F4BBA
triadic
#2F91BA #BA2F91 #91BA2F
tetradic
#2F91BA #9D2FBA #BA582F #4BBA2F
square
#2F91BA #9D2FBA #BA582F #4BBA2F
split-complementary
#2F91BA #BA2F4B #BA9D2F
monochromatic
#164558 #236B89 #2F91BA #53ADD3 #84C5E0

Accessibility & contrast

On white

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

On black

5.88
#2F91BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F91BA
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F91BA#FFFFFF#000000##000000
##2F91BA1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8FBC
Deuteranopia (green-blind)
#6982B9
Tritanopia (blue-blind)
#009C9F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #2f91ba;
/* rgb */ color: rgb(47, 145, 186);
/* oklch */ color: oklch(61.9% 0.107 230.4);
Tailwind
colors: {
  custom: {
    50: '#7bb1cf',
    500: '#2f91ba',
    950: '#000000',
  },
}
SCSS
$custom: #2f91ba;
$custom-light: #7bb1cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f91ba",
  "rgb": {
    "r": 47,
    "g": 145,
    "b": 186
  },
  "hsl": {
    "h": 197.698,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.61871,
    "c": 0.10736,
    "h": 230.4
  },
  "luminance": 0.244
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F91BA

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

Preview Lab → · Contrast checker → · Palette generator →

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