#2F76A6#2F76A6

#2F76A6 is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.3% C 0.103 H 241.9°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2F76A6
RGBrgb(47, 118, 166)
HSLhsl(204, 56%, 42%)
HSVhsv(204, 72%, 65%)
CMYKcmyk(71.7%, 28.9%, 0%, 34.9%)
CIE-LABlab(47.38, -5.84, -32.09)
CIE-LCHlch(47.38, 32.62, 259.68°)
OKLaboklab(54.34% -0.0484 -0.0906)
OKLCHoklch(54.34% 0.103 241.9)
XYZxyz(14.5310, 16.3128, 38.4519)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F76A6 #A65F2F
analogous
#2FA69B #2F76A6 #2F3AA6
triadic
#2F76A6 #A62F76 #76A62F
tetradic
#2F76A6 #9B2FA6 #A65F2F #3AA62F
square
#2F76A6 #9B2FA6 #A65F2F #3AA62F
split-complementary
#2F76A6 #A62F3A #A69B2F
monochromatic
#143247 #215476 #2F76A6 #4796CB #77B1D8

Accessibility & contrast

On white

4.93
#2F76A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#2F76A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F76A6
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F76A6#FFFFFF#000000##FFFFFF
##2F76A61.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6077A8
Deuteranopia (green-blind)
#506BA5
Tritanopia (blue-blind)
#008287
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f76a6;
/* rgb */ color: rgb(47, 118, 166);
/* oklch */ color: oklch(54.3% 0.103 241.9);
Tailwind
colors: {
  custom: {
    50: '#779dc0',
    500: '#2f76a6',
    950: '#000000',
  },
}
SCSS
$custom: #2f76a6;
$custom-light: #779dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f76a6",
  "rgb": {
    "r": 47,
    "g": 118,
    "b": 166
  },
  "hsl": {
    "h": 204.202,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.54338,
    "c": 0.10277,
    "h": 241.9
  },
  "luminance": 0.16314
}

Semantic roles & 50–950 ramp

primary
#2F76A6
secondary
#C19170
accent
#8549DF
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2F76A6

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

Preview Lab → · Contrast checker → · Palette generator →

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