#2F7995#2F7995

#2F7995 is a mid, moderate cyan. Relative luminance 0.164; OKLCH L 54.2% C 0.084 H 226.6°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2F7995
RGBrgb(47, 121, 149)
HSLhsl(196, 52%, 38%)
HSVhsv(196, 68%, 58%)
CMYKcmyk(68.5%, 18.8%, 0%, 41.6%)
CIE-LABlab(47.56, -13.51, -21.84)
CIE-LCHlch(47.56, 25.68, 238.26°)
OKLaboklab(54.23% -0.0577 -0.0611)
OKLCHoklch(54.23% 0.084 226.6)
XYZxyz(13.4323, 16.4476, 30.8947)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7995 #954B2F
analogous
#2F957E #2F7995 #2F4695
triadic
#2F7995 #952F79 #79952F
tetradic
#2F7995 #7E2F95 #954B2F #46952F
square
#2F7995 #7E2F95 #954B2F #46952F
split-complementary
#2F7995 #952F46 #957E2F
monochromatic
#122D38 #205366 #2F7995 #3F9EC2 #6DB6D1

Accessibility & contrast

On white

4.90
#2F7995 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#2F7995 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7995
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7995#FFFFFF#000000##FFFFFF
##2F79951.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A7796
Deuteranopia (green-blind)
#5C6C95
Tritanopia (blue-blind)
#008182
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f7995;
/* rgb */ color: rgb(47, 121, 149);
/* oklch */ color: oklch(54.2% 0.084 226.6);
Tailwind
colors: {
  custom: {
    50: '#749fb4',
    500: '#2f7995',
    950: '#000000',
  },
}
SCSS
$custom: #2f7995;
$custom-light: #749fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7995",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 149
  },
  "hsl": {
    "h": 196.471,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.54229,
    "c": 0.08404,
    "h": 226.6
  },
  "luminance": 0.16449
}

Semantic roles & 50–950 ramp

primary
#2F7995
secondary
#B87E67
accent
#744CDB
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2F7995

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

Preview Lab → · Contrast checker → · Palette generator →

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