#2F76B9#2F76B9

#2F76B9 is a mid, vivid cyan. Relative luminance 0.171; OKLCH L 55.4% C 0.126 H 250.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2F76B9
RGBrgb(47, 118, 185)
HSLhsl(209, 59%, 45%)
HSVhsv(209, 75%, 73%)
CMYKcmyk(74.6%, 36.2%, 0%, 27.5%)
CIE-LABlab(48.34, 1.06, -41.62)
CIE-LCHlch(48.34, 41.64, 271.46°)
OKLaboklab(55.41% -0.0428 -0.1184)
OKLCHoklch(55.41% 0.126 250.1)
XYZxyz(16.4044, 17.0621, 48.3183)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F76B9 #B9722F
analogous
#2FB9B7 #2F76B9 #2F31B9
triadic
#2F76B9 #B92F76 #76B92F
tetradic
#2F76B9 #B72FB9 #B9722F #31B92F
square
#2F76B9 #B72FB9 #B9722F #31B92F
split-complementary
#2F76B9 #B92F31 #B9B72F
monochromatic
#163857 #235788 #2F76B9 #5294D3 #83B3DF

Accessibility & contrast

On white

4.76
#2F76B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#2F76B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F76B9
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F76B9#FFFFFF#000000##FFFFFF
##2F76B91.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#577ABC
Deuteranopia (green-blind)
#436DB8
Tritanopia (blue-blind)
#00868F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f76b9;
/* rgb */ color: rgb(47, 118, 185);
/* oklch */ color: oklch(55.4% 0.126 250.1);
Tailwind
colors: {
  custom: {
    50: '#7a9dce',
    500: '#2f76b9',
    950: '#000000',
  },
}
SCSS
$custom: #2f76b9;
$custom-light: #7a9dce;
$custom-dark: #000000;
JSON
{
  "hex": "#2f76b9",
  "rgb": {
    "r": 47,
    "g": 118,
    "b": 185
  },
  "hsl": {
    "h": 209.13,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55405,
    "c": 0.12594,
    "h": 250.1
  },
  "luminance": 0.17064
}

Semantic roles & 50–950 ramp

primary
#2F76B9
secondary
#C9A17B
accent
#9245E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #2F76B9

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

Preview Lab → · Contrast checker → · Palette generator →

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