#2F91B2#2F91B2

#2F91B2 is a mid, moderate cyan. Relative luminance 0.241; OKLCH L 61.5% C 0.101 H 224.8°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#2F91B2
RGBrgb(47, 145, 178)
HSLhsl(195, 58%, 44%)
HSVhsv(195, 74%, 70%)
CMYKcmyk(73.6%, 18.5%, 0%, 30.2%)
CIE-LABlab(56.16, -16.98, -25.38)
CIE-LCHlch(56.16, 30.53, 236.22°)
OKLaboklab(61.5% -0.0715 -0.0711)
OKLCHoklch(61.5% 0.101 224.8)
XYZxyz(19.3303, 24.0672, 45.7375)
Luminance0.2407 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F91B2 #B2502F
analogous
#2FB292 #2F91B2 #2F4FB2
triadic
#2F91B2 #B22F91 #91B22F
tetradic
#2F91B2 #922FB2 #B2502F #4FB22F
square
#2F91B2 #922FB2 #B2502F #4FB22F
split-complementary
#2F91B2 #B22F4F #B2922F
monochromatic
#154251 #226A82 #2F91B2 #4EAFD0 #7EC5DD

Accessibility & contrast

On white

3.61
#2F91B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#2F91B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F91B2
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F91B2#FFFFFF#000000##000000
##2F91B21.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8EB4
Deuteranopia (green-blind)
#6D81B2
Tritanopia (blue-blind)
#009B9C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #2f91b2;
/* rgb */ color: rgb(47, 145, 178);
/* oklch */ color: oklch(61.5% 0.101 224.8);
Tailwind
colors: {
  custom: {
    50: '#7ab1c9',
    500: '#2f91b2',
    950: '#000000',
  },
}
SCSS
$custom: #2f91b2;
$custom-light: #7ab1c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f91b2",
  "rgb": {
    "r": 47,
    "g": 145,
    "b": 178
  },
  "hsl": {
    "h": 195.115,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.61499,
    "c": 0.1008,
    "h": 224.8
  },
  "luminance": 0.24069
}

Semantic roles & 50–950 ramp

primary
#2F91B2
secondary
#C68B77
accent
#6D46E1
background
#F8FAFC
surface
#EFF5F8
border
#CACFD1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #2F91B2

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

Preview Lab → · Contrast checker → · Palette generator →

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