#2F77B8#2F77B8

#2F77B8 is a mid, vivid cyan. Relative luminance 0.173; OKLCH L 55.6% C 0.124 H 249.2°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#2F77B8
RGBrgb(47, 119, 184)
HSLhsl(208, 59%, 45%)
HSVhsv(208, 74%, 72%)
CMYKcmyk(74.5%, 35.3%, 0%, 27.8%)
CIE-LABlab(48.58, 0.09, -40.66)
CIE-LCHlch(48.58, 40.66, 270.12°)
OKLaboklab(55.58% -0.044 -0.1156)
OKLCHoklch(55.58% 0.124 249.2)
XYZxyz(16.4176, 17.2568, 47.8037)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F77B8 #B8702F
analogous
#2FB8B4 #2F77B8 #2F33B8
triadic
#2F77B8 #B82F77 #77B82F
tetradic
#2F77B8 #B42FB8 #B8702F #33B82F
square
#2F77B8 #B42FB8 #B8702F #33B82F
split-complementary
#2F77B8 #B82F33 #B8B42F
monochromatic
#163857 #235787 #2F77B8 #5295D3 #82B3DF

Accessibility & contrast

On white

4.72
#2F77B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#2F77B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F77B8
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F77B8#FFFFFF#000000##FFFFFF
##2F77B81.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#597ABB
Deuteranopia (green-blind)
#456EB7
Tritanopia (blue-blind)
#00868F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f77b8;
/* rgb */ color: rgb(47, 119, 184);
/* oklch */ color: oklch(55.6% 0.124 249.2);
Tailwind
colors: {
  custom: {
    50: '#7a9dcd',
    500: '#2f77b8',
    950: '#000000',
  },
}
SCSS
$custom: #2f77b8;
$custom-light: #7a9dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f77b8",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 184
  },
  "hsl": {
    "h": 208.467,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55579,
    "c": 0.1237,
    "h": 249.2
  },
  "luminance": 0.17259
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F77B8

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

Preview Lab → · Contrast checker → · Palette generator →

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