#2F7591#2F7591

#2F7591 is a mid, moderate cyan. Relative luminance 0.154; OKLCH L 53.0% C 0.082 H 227.8°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2F7591
RGBrgb(47, 117, 145)
HSLhsl(197, 51%, 38%)
HSVhsv(197, 68%, 57%)
CMYKcmyk(67.6%, 19.3%, 0%, 43.1%)
CIE-LABlab(46.14, -12.60, -21.67)
CIE-LCHlch(46.14, 25.07, 239.82°)
OKLaboklab(53.04% -0.0549 -0.0606)
OKLCHoklch(53.04% 0.082 227.8)
XYZxyz(12.6424, 15.3699, 29.0830)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7591 #914B2F
analogous
#2F917C #2F7591 #2F4491
triadic
#2F7591 #912F75 #75912F
tetradic
#2F7591 #7C2F91 #914B2F #44912F
square
#2F7591 #7C2F91 #914B2F #44912F
split-complementary
#2F7591 #912F44 #917C2F
monochromatic
#112A35 #205063 #2F7591 #3E9ABF #6BB3CF

Accessibility & contrast

On white

5.15
#2F7591 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#2F7591 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7591
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7591#FFFFFF#000000##FFFFFF
##2F75911.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#667392
Deuteranopia (green-blind)
#596991
Tritanopia (blue-blind)
#007D7E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f7591;
/* rgb */ color: rgb(47, 117, 145);
/* oklch */ color: oklch(53.0% 0.082 227.8);
Tailwind
colors: {
  custom: {
    50: '#739cb1',
    500: '#2f7591',
    950: '#000000',
  },
}
SCSS
$custom: #2f7591;
$custom-light: #739cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7591",
  "rgb": {
    "r": 47,
    "g": 117,
    "b": 145
  },
  "hsl": {
    "h": 197.143,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.5304,
    "c": 0.08179,
    "h": 227.8
  },
  "luminance": 0.15371
}

Semantic roles & 50–950 ramp

primary
#2F7591
secondary
#B67D65
accent
#764DDB
background
#F7F9FA
surface
#EDF2F5
border
#C8CCCF
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #2F7591

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

Preview Lab → · Contrast checker → · Palette generator →

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