#2F7AB2#2F7AB2

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

Color values

HEX#2F7AB2
RGBrgb(47, 122, 178)
HSLhsl(206, 58%, 44%)
HSVhsv(206, 74%, 70%)
CMYKcmyk(73.6%, 31.5%, 0%, 30.2%)
CIE-LABlab(49.17, -3.90, -36.25)
CIE-LCHlch(49.17, 36.46, 263.86°)
OKLaboklab(55.95% -0.0486 -0.1027)
OKLCHoklch(55.95% 0.114 244.7)
XYZxyz(16.1646, 17.7359, 44.6823)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7AB2 #B2672F
analogous
#2FB2A9 #2F7AB2 #2F39B2
triadic
#2F7AB2 #B22F7A #7AB22F
tetradic
#2F7AB2 #A92FB2 #B2672F #39B22F
square
#2F7AB2 #A92FB2 #B2672F #39B22F
split-complementary
#2F7AB2 #B22F39 #B2A92F
monochromatic
#153851 #225982 #2F7AB2 #4E99D0 #7EB5DD

Accessibility & contrast

On white

4.62
#2F7AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#2F7AB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7AB2
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7AB2#FFFFFF#000000##FFFFFF
##2F7AB21.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#607CB4
Deuteranopia (green-blind)
#4E6FB1
Tritanopia (blue-blind)
#00888E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f7ab2;
/* rgb */ color: rgb(47, 122, 178);
/* oklch */ color: oklch(55.9% 0.114 244.7);
Tailwind
colors: {
  custom: {
    50: '#79a0c9',
    500: '#2f7ab2',
    950: '#000000',
  },
}
SCSS
$custom: #2f7ab2;
$custom-light: #79a0c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7ab2",
  "rgb": {
    "r": 47,
    "g": 122,
    "b": 178
  },
  "hsl": {
    "h": 205.649,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55945,
    "c": 0.11364,
    "h": 244.7
  },
  "luminance": 0.17738
}

Semantic roles & 50–950 ramp

primary
#2F7AB2
secondary
#C69977
accent
#8946E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2F7AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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