#2F7698#2F7698

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

Color values

HEX#2F7698
RGBrgb(47, 118, 152)
HSLhsl(199, 53%, 39%)
HSVhsv(199, 69%, 60%)
CMYKcmyk(69.1%, 22.4%, 0%, 40.4%)
CIE-LABlab(46.75, -10.77, -24.86)
CIE-LCHlch(46.75, 27.10, 246.57°)
OKLaboklab(53.62% -0.0533 -0.0698)
OKLCHoklch(53.62% 0.088 232.6)
XYZxyz(13.3160, 15.8268, 32.0528)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7698 #98512F
analogous
#2F9886 #2F7698 #2F4198
triadic
#2F7698 #982F76 #76982F
tetradic
#2F7698 #862F98 #98512F #41982F
square
#2F7698 #862F98 #98512F #41982F
split-complementary
#2F7698 #982F41 #98862F
monochromatic
#122D3B #215269 #2F7698 #4099C4 #6FB2D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F7698#FFFFFF#000000##FFFFFF
##2F76981.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)
#65759A
Deuteranopia (green-blind)
#576A97
Tritanopia (blue-blind)
#007F81
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f7698;
/* rgb */ color: rgb(47, 118, 152);
/* oklch */ color: oklch(53.6% 0.088 232.6);
Tailwind
colors: {
  custom: {
    50: '#749db6',
    500: '#2f7698',
    950: '#000000',
  },
}
SCSS
$custom: #2f7698;
$custom-light: #749db6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7698",
  "rgb": {
    "r": 47,
    "g": 118,
    "b": 152
  },
  "hsl": {
    "h": 199.429,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.53624,
    "c": 0.08781,
    "h": 232.6
  },
  "luminance": 0.15828
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F7698

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

Preview Lab → · Contrast checker → · Palette generator →

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