#2F77B9#2F77B9

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

Color values

HEX#2F77B9
RGBrgb(47, 119, 185)
HSLhsl(209, 59%, 45%)
HSVhsv(209, 75%, 73%)
CMYKcmyk(74.6%, 35.7%, 0%, 27.5%)
CIE-LABlab(48.63, 0.46, -41.15)
CIE-LCHlch(48.63, 41.16, 270.63°)
OKLaboklab(55.64% -0.0437 -0.117)
OKLCHoklch(55.64% 0.125 249.5)
XYZxyz(16.5228, 17.2989, 48.3578)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F77B9 #B9712F
analogous
#2FB9B6 #2F77B9 #2F32B9
triadic
#2F77B9 #B92F77 #77B92F
tetradic
#2F77B9 #B62FB9 #B9712F #32B92F
square
#2F77B9 #B62FB9 #B9712F #32B92F
split-complementary
#2F77B9 #B92F32 #B9B62F
monochromatic
#163857 #235888 #2F77B9 #5295D3 #83B3DF

Accessibility & contrast

On white

4.71
#2F77B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#2F77B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F77B9
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F77B9#FFFFFF#000000##FFFFFF
##2F77B91.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#597BBC
Deuteranopia (green-blind)
#446EB8
Tritanopia (blue-blind)
#00878F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f77b9;
/* rgb */ color: rgb(47, 119, 185);
/* oklch */ color: oklch(55.6% 0.125 249.5);
Tailwind
colors: {
  custom: {
    50: '#7a9dce',
    500: '#2f77b9',
    950: '#000000',
  },
}
SCSS
$custom: #2f77b9;
$custom-light: #7a9dce;
$custom-dark: #000000;
JSON
{
  "hex": "#2f77b9",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 185
  },
  "hsl": {
    "h": 208.696,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55637,
    "c": 0.12496,
    "h": 249.5
  },
  "luminance": 0.17301
}

Semantic roles & 50–950 ramp

primary
#2F77B9
secondary
#C9A07B
accent
#9045E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #2F77B9

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

Preview Lab → · Contrast checker → · Palette generator →

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