#2F76A8#2F76A8

#2F76A8 is a mid, moderate cyan. Relative luminance 0.164; OKLCH L 54.4% C 0.105 H 242.9°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#2F76A8
RGBrgb(47, 118, 168)
HSLhsl(205, 56%, 42%)
HSVhsv(205, 72%, 66%)
CMYKcmyk(72%, 29.8%, 0%, 34.1%)
CIE-LABlab(47.48, -5.13, -33.11)
CIE-LCHlch(47.48, 33.50, 261.20°)
OKLaboklab(54.45% -0.0478 -0.0936)
OKLCHoklch(54.45% 0.105 242.9)
XYZxyz(14.7159, 16.3867, 39.4256)
Luminance0.1639 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F76A8 #A8612F
analogous
#2FA89D #2F76A8 #2F3AA8
triadic
#2F76A8 #A82F76 #76A82F
tetradic
#2F76A8 #9D2FA8 #A8612F #3AA82F
square
#2F76A8 #9D2FA8 #A8612F #3AA82F
split-complementary
#2F76A8 #A82F3A #A89D2F
monochromatic
#143348 #225478 #2F76A8 #4896CC #78B1D9

Accessibility & contrast

On white

4.91
#2F76A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#2F76A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F76A8
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F76A8#FFFFFF#000000##FFFFFF
##2F76A81.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F77AA
Deuteranopia (green-blind)
#4E6BA7
Tritanopia (blue-blind)
#008288
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f76a8;
/* rgb */ color: rgb(47, 118, 168);
/* oklch */ color: oklch(54.4% 0.105 242.9);
Tailwind
colors: {
  custom: {
    50: '#779dc2',
    500: '#2f76a8',
    950: '#000000',
  },
}
SCSS
$custom: #2f76a8;
$custom-light: #779dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f76a8",
  "rgb": {
    "r": 47,
    "g": 118,
    "b": 168
  },
  "hsl": {
    "h": 204.793,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.54446,
    "c": 0.10509,
    "h": 242.9
  },
  "luminance": 0.16388
}

Semantic roles & 50–950 ramp

primary
#2F76A8
secondary
#C19271
accent
#8748E0
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2F76A8

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

Preview Lab → · Contrast checker → · Palette generator →

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