#2F7596#2F7596

#2F7596 is a mid, moderate cyan. Relative luminance 0.155; OKLCH L 53.3% C 0.086 H 232.1°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2F7596
RGBrgb(47, 117, 150)
HSLhsl(199, 52%, 39%)
HSVhsv(199, 69%, 59%)
CMYKcmyk(68.7%, 22%, 0%, 41.2%)
CIE-LABlab(46.35, -10.89, -24.30)
CIE-LCHlch(46.35, 26.63, 245.86°)
OKLaboklab(53.28% -0.053 -0.0681)
OKLCHoklch(53.28% 0.086 232.1)
XYZxyz(13.0364, 15.5275, 31.1583)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7596 #96502F
analogous
#2F9683 #2F7596 #2F4196
triadic
#2F7596 #962F75 #75962F
tetradic
#2F7596 #832F96 #96502F #41962F
square
#2F7596 #832F96 #96502F #41962F
split-complementary
#2F7596 #962F41 #96832F
monochromatic
#122C39 #205167 #2F7596 #3F99C3 #6EB2D2

Accessibility & contrast

On white

5.11
#2F7596 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#2F7596 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7596
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7596#FFFFFF#000000##FFFFFF
##2F75961.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#657498
Deuteranopia (green-blind)
#566996
Tritanopia (blue-blind)
#007E80
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f7596;
/* rgb */ color: rgb(47, 117, 150);
/* oklch */ color: oklch(53.3% 0.086 232.1);
Tailwind
colors: {
  custom: {
    50: '#749cb5',
    500: '#2f7596',
    950: '#000000',
  },
}
SCSS
$custom: #2f7596;
$custom-light: #749cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7596",
  "rgb": {
    "r": 47,
    "g": 117,
    "b": 150
  },
  "hsl": {
    "h": 199.223,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.53279,
    "c": 0.08633,
    "h": 232.1
  },
  "luminance": 0.15529
}

Semantic roles & 50–950 ramp

primary
#2F7596
secondary
#B98268
accent
#7A4CDC
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2F7596

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

Preview Lab → · Contrast checker → · Palette generator →

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