#2F7AB3#2F7AB3

#2F7AB3 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 56.0% C 0.115 H 245.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2F7AB3
RGBrgb(47, 122, 179)
HSLhsl(206, 58%, 44%)
HSVhsv(206, 74%, 70%)
CMYKcmyk(73.7%, 31.8%, 0%, 29.8%)
CIE-LABlab(49.22, -3.54, -36.76)
CIE-LCHlch(49.22, 36.93, 264.50°)
OKLaboklab(56% -0.0483 -0.1042)
OKLCHoklch(56% 0.115 245.1)
XYZxyz(16.2654, 17.7762, 45.2130)
Luminance0.1778 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7AB3 #B3682F
analogous
#2FB3AA #2F7AB3 #2F38B3
triadic
#2F7AB3 #B32F7A #7AB32F
tetradic
#2F7AB3 #AA2FB3 #B3682F #38B32F
square
#2F7AB3 #AA2FB3 #B3682F #38B32F
split-complementary
#2F7AB3 #B32F38 #B3AA2F
monochromatic
#163852 #225983 #2F7AB3 #4F98D1 #7FB5DD

Accessibility & contrast

On white

4.61
#2F7AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#2F7AB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7AB3
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7AB3#FFFFFF#000000##FFFFFF
##2F7AB31.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f7ab3;
/* rgb */ color: rgb(47, 122, 179);
/* oklch */ color: oklch(56.0% 0.115 245.1);
Tailwind
colors: {
  custom: {
    50: '#79a0ca',
    500: '#2f7ab3',
    950: '#000000',
  },
}
SCSS
$custom: #2f7ab3;
$custom-light: #79a0ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7ab3",
  "rgb": {
    "r": 47,
    "g": 122,
    "b": 179
  },
  "hsl": {
    "h": 205.909,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.56001,
    "c": 0.11483,
    "h": 245.1
  },
  "luminance": 0.17778
}

Semantic roles & 50–950 ramp

primary
#2F7AB3
secondary
#C69A78
accent
#8946E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2F7AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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