#2F7AB6#2F7AB6

#2F7AB6 is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 56.2% C 0.118 H 246.4°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#2F7AB6
RGBrgb(47, 122, 182)
HSLhsl(207, 59%, 45%)
HSVhsv(207, 74%, 71%)
CMYKcmyk(74.2%, 33%, 0%, 28.6%)
CIE-LABlab(49.37, -2.45, -38.25)
CIE-LCHlch(49.37, 38.33, 266.33°)
OKLaboklab(56.17% -0.0474 -0.1085)
OKLCHoklch(56.17% 0.118 246.4)
XYZxyz(16.5721, 17.8989, 46.8283)
Luminance0.1790 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7AB6 #B66B2F
analogous
#2FB6AF #2F7AB6 #2F36B6
triadic
#2F7AB6 #B62F7A #7AB62F
tetradic
#2F7AB6 #AF2FB6 #B66B2F #36B62F
square
#2F7AB6 #AF2FB6 #B66B2F #36B62F
split-complementary
#2F7AB6 #B62F36 #B6AF2F
monochromatic
#163955 #225985 #2F7AB6 #5098D2 #81B5DE

Accessibility & contrast

On white

4.58
#2F7AB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#2F7AB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F7AB6
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7AB6#FFFFFF#000000##000000
##2F7AB61.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7CB9
Deuteranopia (green-blind)
#4B70B5
Tritanopia (blue-blind)
#008890
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f7ab6;
/* rgb */ color: rgb(47, 122, 182);
/* oklch */ color: oklch(56.2% 0.118 246.4);
Tailwind
colors: {
  custom: {
    50: '#7aa0cc',
    500: '#2f7ab6',
    950: '#000000',
  },
}
SCSS
$custom: #2f7ab6;
$custom-light: #7aa0cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7ab6",
  "rgb": {
    "r": 47,
    "g": 122,
    "b": 182
  },
  "hsl": {
    "h": 206.667,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.56168,
    "c": 0.11845,
    "h": 246.4
  },
  "luminance": 0.17901
}

Semantic roles & 50–950 ramp

primary
#2F7AB6
secondary
#C79C79
accent
#8B46E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2F7AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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