#2F77BA#2F77BA

#2F77BA is a mid, vivid cyan. Relative luminance 0.173; OKLCH L 55.7% C 0.126 H 249.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2F77BA
RGBrgb(47, 119, 186)
HSLhsl(209, 60%, 46%)
HSVhsv(209, 75%, 73%)
CMYKcmyk(74.7%, 36%, 0%, 27.1%)
CIE-LABlab(48.69, 0.82, -41.65)
CIE-LCHlch(48.69, 41.66, 271.13°)
OKLaboklab(55.7% -0.0435 -0.1185)
OKLCHoklch(55.7% 0.126 249.8)
XYZxyz(16.6287, 17.3413, 48.9157)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F77BA #BA722F
analogous
#2FBAB7 #2F77BA #2F31BA
triadic
#2F77BA #BA2F77 #77BA2F
tetradic
#2F77BA #B72FBA #BA722F #31BA2F
square
#2F77BA #B72FBA #BA722F #31BA2F
split-complementary
#2F77BA #BA2F31 #BAB72F
monochromatic
#163858 #235889 #2F77BA #5395D3 #84B3E0

Accessibility & contrast

On white

4.70
#2F77BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#2F77BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F77BA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F77BA#FFFFFF#000000##FFFFFF
##2F77BA1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#587BBD
Deuteranopia (green-blind)
#446EB9
Tritanopia (blue-blind)
#008790
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f77ba;
/* rgb */ color: rgb(47, 119, 186);
/* oklch */ color: oklch(55.7% 0.126 249.8);
Tailwind
colors: {
  custom: {
    50: '#7a9dcf',
    500: '#2f77ba',
    950: '#000000',
  },
}
SCSS
$custom: #2f77ba;
$custom-light: #7a9dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f77ba",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 186
  },
  "hsl": {
    "h": 208.921,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55696,
    "c": 0.12622,
    "h": 249.8
  },
  "luminance": 0.17343
}

Semantic roles & 50–950 ramp

primary
#2F77BA
secondary
#C9A17C
accent
#9145E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #2F77BA

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

Preview Lab → · Contrast checker → · Palette generator →

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