#2F76B7#2F76B7

#2F76B7 is a mid, vivid cyan. Relative luminance 0.170; OKLCH L 55.3% C 0.123 H 249.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2F76B7
RGBrgb(47, 118, 183)
HSLhsl(209, 59%, 45%)
HSVhsv(209, 74%, 72%)
CMYKcmyk(74.3%, 35.5%, 0%, 28.2%)
CIE-LABlab(48.23, 0.33, -40.63)
CIE-LCHlch(48.23, 40.63, 270.46°)
OKLaboklab(55.29% -0.0433 -0.1155)
OKLCHoklch(55.29% 0.123 249.4)
XYZxyz(16.1947, 16.9783, 47.2142)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F76B7 #B7702F
analogous
#2FB7B4 #2F76B7 #2F32B7
triadic
#2F76B7 #B72F76 #76B72F
tetradic
#2F76B7 #B42FB7 #B7702F #32B72F
square
#2F76B7 #B42FB7 #B7702F #32B72F
split-complementary
#2F76B7 #B72F32 #B7B42F
monochromatic
#163756 #225786 #2F76B7 #5194D2 #82B2DF

Accessibility & contrast

On white

4.78
#2F76B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#2F76B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F76B7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F76B7#FFFFFF#000000##FFFFFF
##2F76B71.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5879BA
Deuteranopia (green-blind)
#446DB6
Tritanopia (blue-blind)
#00858E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f76b7;
/* rgb */ color: rgb(47, 118, 183);
/* oklch */ color: oklch(55.3% 0.123 249.4);
Tailwind
colors: {
  custom: {
    50: '#7a9dcd',
    500: '#2f76b7',
    950: '#000000',
  },
}
SCSS
$custom: #2f76b7;
$custom-light: #7a9dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f76b7",
  "rgb": {
    "r": 47,
    "g": 118,
    "b": 183
  },
  "hsl": {
    "h": 208.676,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55287,
    "c": 0.1234,
    "h": 249.4
  },
  "luminance": 0.1698
}

Semantic roles & 50–950 ramp

primary
#2F76B7
secondary
#C89F7A
accent
#9045E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2F76B7

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

Preview Lab → · Contrast checker → · Palette generator →

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