#2F76B4#2F76B4

#2F76B4 is a mid, moderate cyan. Relative luminance 0.169; OKLCH L 55.1% C 0.120 H 248.3°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2F76B4
RGBrgb(47, 118, 180)
HSLhsl(208, 59%, 45%)
HSVhsv(208, 74%, 71%)
CMYKcmyk(73.9%, 34.4%, 0%, 29.4%)
CIE-LABlab(48.08, -0.77, -39.14)
CIE-LCHlch(48.08, 39.15, 268.87°)
OKLaboklab(55.11% -0.0442 -0.1112)
OKLCHoklch(55.11% 0.12 248.3)
XYZxyz(15.8858, 16.8547, 45.5872)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F76B4 #B46D2F
analogous
#2FB4B0 #2F76B4 #2F34B4
triadic
#2F76B4 #B42F76 #76B42F
tetradic
#2F76B4 #B02FB4 #B46D2F #34B42F
square
#2F76B4 #B02FB4 #B46D2F #34B42F
split-complementary
#2F76B4 #B42F34 #B4B02F
monochromatic
#163653 #225683 #2F76B4 #4F94D1 #80B2DE

Accessibility & contrast

On white

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

On black

4.37
#2F76B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2F76B4#FFFFFF#000000##FFFFFF
##2F76B41.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f76b4;
/* rgb */ color: rgb(47, 118, 180);
/* oklch */ color: oklch(55.1% 0.120 248.3);
Tailwind
colors: {
  custom: {
    50: '#799dcb',
    500: '#2f76b4',
    950: '#000000',
  },
}
SCSS
$custom: #2f76b4;
$custom-light: #799dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f76b4",
  "rgb": {
    "r": 47,
    "g": 118,
    "b": 180
  },
  "hsl": {
    "h": 207.97,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55114,
    "c": 0.11965,
    "h": 248.3
  },
  "luminance": 0.16856
}

Semantic roles & 50–950 ramp

primary
#2F76B4
secondary
#C79D78
accent
#8F46E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2F76B4

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

Preview Lab → · Contrast checker → · Palette generator →

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