#2F7AB1#2F7AB1

#2F7AB1 is a mid, moderate cyan. Relative luminance 0.177; OKLCH L 55.9% C 0.112 H 244.2°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2F7AB1
RGBrgb(47, 122, 177)
HSLhsl(205, 58%, 44%)
HSVhsv(205, 73%, 69%)
CMYKcmyk(73.4%, 31.1%, 0%, 30.6%)
CIE-LABlab(49.13, -4.26, -35.75)
CIE-LCHlch(49.13, 36.01, 263.20°)
OKLaboklab(55.89% -0.0489 -0.1012)
OKLCHoklch(55.89% 0.112 244.2)
XYZxyz(16.0646, 17.6959, 44.1554)
Luminance0.1770 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7AB1 #B1662F
analogous
#2FB1A7 #2F7AB1 #2F39B1
triadic
#2F7AB1 #B12F7A #7AB12F
tetradic
#2F7AB1 #A72FB1 #B1662F #39B12F
square
#2F7AB1 #A72FB1 #B1662F #39B12F
split-complementary
#2F7AB1 #B12F39 #B1A72F
monochromatic
#153750 #225981 #2F7AB1 #4D99D0 #7EB5DD

Accessibility & contrast

On white

4.63
#2F7AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#2F7AB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7AB1
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7AB1#FFFFFF#000000##FFFFFF
##2F7AB11.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#617CB3
Deuteranopia (green-blind)
#4F6FB0
Tritanopia (blue-blind)
#00878D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f7ab1;
/* rgb */ color: rgb(47, 122, 177);
/* oklch */ color: oklch(55.9% 0.112 244.2);
Tailwind
colors: {
  custom: {
    50: '#79a0c8',
    500: '#2f7ab1',
    950: '#000000',
  },
}
SCSS
$custom: #2f7ab1;
$custom-light: #79a0c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7ab1",
  "rgb": {
    "r": 47,
    "g": 122,
    "b": 177
  },
  "hsl": {
    "h": 205.385,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.55891,
    "c": 0.11245,
    "h": 244.2
  },
  "luminance": 0.17698
}

Semantic roles & 50–950 ramp

primary
#2F7AB1
secondary
#C59876
accent
#8847E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2F7AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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