#2F77BE#2F77BE

#2F77BE is a mid, vivid cyan. Relative luminance 0.175; OKLCH L 55.9% C 0.131 H 251.1°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2F77BE
RGBrgb(47, 119, 190)
HSLhsl(210, 60%, 46%)
HSVhsv(210, 75%, 75%)
CMYKcmyk(75.3%, 37.4%, 0%, 25.5%)
CIE-LABlab(48.90, 2.30, -43.61)
CIE-LCHlch(48.90, 43.67, 273.02°)
OKLaboklab(55.93% -0.0424 -0.1242)
OKLCHoklch(55.93% 0.131 251.1)
XYZxyz(17.0599, 17.5137, 51.1866)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F77BE #BE762F
analogous
#2FBEBE #2F77BE #2F30BE
triadic
#2F77BE #BE2F77 #77BE2F
tetradic
#2F77BE #BE2FBE #BE762F #30BE2F
square
#2F77BE #BE2FBE #BE762F #30BE2F
split-complementary
#2F77BE #BE2F30 #BEBE2F
monochromatic
#173A5C #23588D #2F77BE #5596D5 #86B4E1

Accessibility & contrast

On white

4.66
#2F77BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#2F77BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F77BE
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F77BE#FFFFFF#000000##FFFFFF
##2F77BE1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#567BC1
Deuteranopia (green-blind)
#406EBD
Tritanopia (blue-blind)
#008891
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f77be;
/* rgb */ color: rgb(47, 119, 190);
/* oklch */ color: oklch(55.9% 0.131 251.1);
Tailwind
colors: {
  custom: {
    50: '#7b9dd2',
    500: '#2f77be',
    950: '#000000',
  },
}
SCSS
$custom: #2f77be;
$custom-light: #7b9dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f77be",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 190
  },
  "hsl": {
    "h": 209.79,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55933,
    "c": 0.13129,
    "h": 251.1
  },
  "luminance": 0.17516
}

Semantic roles & 50–950 ramp

primary
#2F77BE
secondary
#CBA47E
accent
#9344E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #2F77BE

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

Preview Lab → · Contrast checker → · Palette generator →

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