#2F7791#2F7791

#2F7791 is a mid, moderate cyan. Relative luminance 0.158; OKLCH L 53.5% C 0.081 H 225.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#2F7791
RGBrgb(47, 119, 145)
HSLhsl(196, 51%, 38%)
HSVhsv(196, 68%, 57%)
CMYKcmyk(67.6%, 17.9%, 0%, 43.1%)
CIE-LABlab(46.77, -13.73, -20.70)
CIE-LCHlch(46.77, 24.84, 236.44°)
OKLaboklab(53.54% -0.0571 -0.0578)
OKLCHoklch(53.54% 0.081 225.4)
XYZxyz(12.8779, 15.8409, 29.1615)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7791 #91492F
analogous
#2F917A #2F7791 #2F4691
triadic
#2F7791 #912F77 #77912F
tetradic
#2F7791 #7A2F91 #91492F #46912F
square
#2F7791 #7A2F91 #91492F #46912F
split-complementary
#2F7791 #912F46 #917A2F
monochromatic
#112B35 #205163 #2F7791 #3E9DBF #6BB5CF

Accessibility & contrast

On white

5.04
#2F7791 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#2F7791 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7791
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7791#FFFFFF#000000##FFFFFF
##2F77911.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697592
Deuteranopia (green-blind)
#5B6A91
Tritanopia (blue-blind)
#007F7F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f7791;
/* rgb */ color: rgb(47, 119, 145);
/* oklch */ color: oklch(53.5% 0.081 225.4);
Tailwind
colors: {
  custom: {
    50: '#739eb1',
    500: '#2f7791',
    950: '#000000',
  },
}
SCSS
$custom: #2f7791;
$custom-light: #739eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7791",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 145
  },
  "hsl": {
    "h": 195.918,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.53542,
    "c": 0.08128,
    "h": 225.4
  },
  "luminance": 0.15842
}

Semantic roles & 50–950 ramp

primary
#2F7791
secondary
#B67B65
accent
#734DDB
background
#F7F9FA
surface
#EDF2F5
border
#C8CCCF
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #2F7791

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

Preview Lab → · Contrast checker → · Palette generator →

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