#2F76B3#2F76B3

#2F76B3 is a mid, moderate cyan. Relative luminance 0.168; OKLCH L 55.1% C 0.118 H 247.9°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2F76B3
RGBrgb(47, 118, 179)
HSLhsl(208, 58%, 44%)
HSVhsv(208, 74%, 70%)
CMYKcmyk(73.7%, 34.1%, 0%, 29.8%)
CIE-LABlab(48.02, -1.14, -38.65)
CIE-LCHlch(48.02, 38.66, 268.31°)
OKLaboklab(55.06% -0.0445 -0.1097)
OKLCHoklch(55.06% 0.118 247.9)
XYZxyz(15.7843, 16.8141, 45.0526)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F76B3 #B36C2F
analogous
#2FB3AE #2F76B3 #2F34B3
triadic
#2F76B3 #B32F76 #76B32F
tetradic
#2F76B3 #AE2FB3 #B36C2F #34B32F
square
#2F76B3 #AE2FB3 #B36C2F #34B32F
split-complementary
#2F76B3 #B32F34 #B3AE2F
monochromatic
#163652 #225683 #2F76B3 #4F95D1 #7FB2DD

Accessibility & contrast

On white

4.81
#2F76B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#2F76B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F76B3
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F76B3#FFFFFF#000000##FFFFFF
##2F76B31.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A79B6
Deuteranopia (green-blind)
#476CB2
Tritanopia (blue-blind)
#00858C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f76b3;
/* rgb */ color: rgb(47, 118, 179);
/* oklch */ color: oklch(55.1% 0.118 247.9);
Tailwind
colors: {
  custom: {
    50: '#799dca',
    500: '#2f76b3',
    950: '#000000',
  },
}
SCSS
$custom: #2f76b3;
$custom-light: #799dca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f76b3",
  "rgb": {
    "r": 47,
    "g": 118,
    "b": 179
  },
  "hsl": {
    "h": 207.727,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55056,
    "c": 0.1184,
    "h": 247.9
  },
  "luminance": 0.16816
}

Semantic roles & 50–950 ramp

primary
#2F76B3
secondary
#C69C78
accent
#8E46E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2F76B3

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

Preview Lab → · Contrast checker → · Palette generator →

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