#2F77CA#2F77CA

#2F77CA is a mid, vivid cyan. Relative luminance 0.181; OKLCH L 56.7% C 0.147 H 254.4°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2F77CA
RGBrgb(47, 119, 202)
HSLhsl(212, 62%, 49%)
HSVhsv(212, 77%, 79%)
CMYKcmyk(76.7%, 41.1%, 0%, 20.8%)
CIE-LABlab(49.57, 6.75, -49.43)
CIE-LCHlch(49.57, 49.89, 277.78°)
OKLaboklab(56.67% -0.0396 -0.1413)
OKLCHoklch(56.67% 0.147 254.4)
XYZxyz(18.4258, 18.0601, 58.3805)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F77CA #CA822F
analogous
#2FC5CA #2F77CA #352FCA
triadic
#2F77CA #CA2F77 #77CA2F
tetradic
#2F77CA #CA2FC5 #CA822F #2FCA35
square
#2F77CA #CA2FC5 #CA822F #2FCA35
split-complementary
#2F77CA #CA352F #C5CA2F
monochromatic
#183D67 #235A98 #2F77CA #5D97D9 #8FB7E5

Accessibility & contrast

On white

4.55
#2F77CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#2F77CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F77CA
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F77CA#FFFFFF#000000##000000
##2F77CA1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7ECD
Deuteranopia (green-blind)
#346FC8
Tritanopia (blue-blind)
#008B96
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f77ca;
/* rgb */ color: rgb(47, 119, 202);
/* oklch */ color: oklch(56.7% 0.147 254.4);
Tailwind
colors: {
  custom: {
    50: '#7d9dda',
    500: '#2f77ca',
    950: '#000000',
  },
}
SCSS
$custom: #2f77ca;
$custom-light: #7d9dda;
$custom-dark: #000000;
JSON
{
  "hex": "#2f77ca",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 202
  },
  "hsl": {
    "h": 212.129,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56671,
    "c": 0.14676,
    "h": 254.4
  },
  "luminance": 0.18062
}

Semantic roles & 50–950 ramp

primary
#2F77CA
secondary
#CFAD86
accent
#9A42E5
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2F77CA

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

Preview Lab → · Contrast checker → · Palette generator →

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