#2F76B5#2F76B5

#2F76B5 is a mid, vivid cyan. Relative luminance 0.169; OKLCH L 55.2% C 0.121 H 248.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2F76B5
RGBrgb(47, 118, 181)
HSLhsl(208, 59%, 45%)
HSVhsv(208, 74%, 71%)
CMYKcmyk(74%, 34.8%, 0%, 29%)
CIE-LABlab(48.13, -0.41, -39.64)
CIE-LCHlch(48.13, 39.64, 269.41°)
OKLaboklab(55.17% -0.0439 -0.1126)
OKLCHoklch(55.17% 0.121 248.7)
XYZxyz(15.9881, 16.8956, 46.1257)
Luminance0.1690 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F76B5 #B56E2F
analogous
#2FB5B1 #2F76B5 #2F33B5
triadic
#2F76B5 #B52F76 #76B52F
tetradic
#2F76B5 #B12FB5 #B56E2F #33B52F
square
#2F76B5 #B12FB5 #B56E2F #33B52F
split-complementary
#2F76B5 #B52F33 #B5B12F
monochromatic
#163754 #225684 #2F76B5 #5094D1 #80B2DE

Accessibility & contrast

On white

4.80
#2F76B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#2F76B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F76B5
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F76B5#FFFFFF#000000##FFFFFF
##2F76B51.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5979B8
Deuteranopia (green-blind)
#466DB4
Tritanopia (blue-blind)
#00858D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f76b5;
/* rgb */ color: rgb(47, 118, 181);
/* oklch */ color: oklch(55.2% 0.121 248.7);
Tailwind
colors: {
  custom: {
    50: '#799dcb',
    500: '#2f76b5',
    950: '#000000',
  },
}
SCSS
$custom: #2f76b5;
$custom-light: #799dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f76b5",
  "rgb": {
    "r": 47,
    "g": 118,
    "b": 181
  },
  "hsl": {
    "h": 208.209,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55171,
    "c": 0.12089,
    "h": 248.7
  },
  "luminance": 0.16897
}

Semantic roles & 50–950 ramp

primary
#2F76B5
secondary
#C79E79
accent
#8F46E2
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2F76B5

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

Preview Lab → · Contrast checker → · Palette generator →

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