#2F7FA9#2F7FA9

#2F7FA9 is a mid, moderate cyan. Relative luminance 0.186; OKLCH L 56.7% C 0.100 H 235.6°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2F7FA9
RGBrgb(47, 127, 169)
HSLhsl(201, 56%, 42%)
HSVhsv(201, 72%, 66%)
CMYKcmyk(72.2%, 24.9%, 0%, 33.7%)
CIE-LABlab(50.27, -10.03, -29.32)
CIE-LCHlch(50.27, 30.99, 251.12°)
OKLaboklab(56.68% -0.0566 -0.0825)
OKLCHoklch(56.68% 0.1 235.6)
XYZxyz(15.9203, 18.6459, 40.2884)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7FA9 #A9592F
analogous
#2FA996 #2F7FA9 #2F42A9
triadic
#2F7FA9 #A92F7F #7FA92F
tetradic
#2F7FA9 #962FA9 #A9592F #42A92F
square
#2F7FA9 #962FA9 #A9592F #42A92F
split-complementary
#2F7FA9 #A92F42 #A9962F
monochromatic
#143749 #225B79 #2F7FA9 #499FCC #79B8DA

Accessibility & contrast

On white

4.44
#2F7FA9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#2F7FA9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7FA9
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7FA9#FFFFFF#000000##000000
##2F7FA91.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7EAB
Deuteranopia (green-blind)
#5A72A8
Tritanopia (blue-blind)
#008A8D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2f7fa9;
/* rgb */ color: rgb(47, 127, 169);
/* oklch */ color: oklch(56.7% 0.100 235.6);
Tailwind
colors: {
  custom: {
    50: '#77a4c2',
    500: '#2f7fa9',
    950: '#000000',
  },
}
SCSS
$custom: #2f7fa9;
$custom-light: #77a4c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7fa9",
  "rgb": {
    "r": 47,
    "g": 127,
    "b": 169
  },
  "hsl": {
    "h": 200.656,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.56675,
    "c": 0.10008,
    "h": 235.6
  },
  "luminance": 0.18648
}

Semantic roles & 50–950 ramp

primary
#2F7FA9
secondary
#C28D72
accent
#7C48E0
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2F7FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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