#2F7AA3#2F7AA3

#2F7AA3 is a mid, moderate cyan. Relative luminance 0.172; OKLCH L 55.2% C 0.097 H 236.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2F7AA3
RGBrgb(47, 122, 163)
HSLhsl(201, 55%, 41%)
HSVhsv(201, 71%, 64%)
CMYKcmyk(71.2%, 25.2%, 0%, 36.1%)
CIE-LABlab(48.47, -9.25, -28.64)
CIE-LCHlch(48.47, 30.09, 252.10°)
OKLaboklab(55.16% -0.0536 -0.0806)
OKLCHoklch(55.16% 0.097 236.4)
XYZxyz(14.7401, 17.1661, 37.1798)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7AA3 #A3582F
analogous
#2FA392 #2F7AA3 #2F40A3
triadic
#2F7AA3 #A32F7A #7AA32F
tetradic
#2F7AA3 #922FA3 #A3582F #40A32F
square
#2F7AA3 #922FA3 #A3582F #40A32F
split-complementary
#2F7AA3 #A32F40 #A3922F
monochromatic
#143344 #215673 #2F7AA3 #469BCA #75B5D7

Accessibility & contrast

On white

4.74
#2F7AA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#2F7AA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7AA3
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7AA3#FFFFFF#000000##FFFFFF
##2F7AA31.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6679A5
Deuteranopia (green-blind)
#576EA2
Tritanopia (blue-blind)
#008588
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f7aa3;
/* rgb */ color: rgb(47, 122, 163);
/* oklch */ color: oklch(55.2% 0.097 236.4);
Tailwind
colors: {
  custom: {
    50: '#76a0be',
    500: '#2f7aa3',
    950: '#000000',
  },
}
SCSS
$custom: #2f7aa3;
$custom-light: #76a0be;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7aa3",
  "rgb": {
    "r": 47,
    "g": 122,
    "b": 163
  },
  "hsl": {
    "h": 201.207,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.55155,
    "c": 0.09678,
    "h": 236.4
  },
  "luminance": 0.17168
}

Semantic roles & 50–950 ramp

primary
#2F7AA3
secondary
#BF8B6F
accent
#7E49DF
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2F7AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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