#2F80CA#2F80CA

#2F80CA is a mid, vivid cyan. Relative luminance 0.203; OKLCH L 58.7% C 0.137 H 249.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2F80CA
RGBrgb(47, 128, 202)
HSLhsl(209, 62%, 49%)
HSVhsv(209, 77%, 79%)
CMYKcmyk(76.7%, 36.6%, 0%, 20.8%)
CIE-LABlab(52.18, 1.26, -45.27)
CIE-LCHlch(52.18, 45.29, 271.59°)
OKLaboklab(58.71% -0.0475 -0.129)
OKLCHoklch(58.71% 0.137 249.8)
XYZxyz(19.5481, 20.3046, 58.7546)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F80CA #CA792F
analogous
#2FCAC7 #2F80CA #2F33CA
triadic
#2F80CA #CA2F80 #80CA2F
tetradic
#2F80CA #C72FCA #CA792F #33CA2F
square
#2F80CA #C72FCA #CA792F #33CA2F
split-complementary
#2F80CA #CA2F33 #CAC72F
monochromatic
#184167 #236198 #2F80CA #5D9ED9 #8FBCE5

Accessibility & contrast

On white

4.15
#2F80CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#2F80CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F80CA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F80CA#FFFFFF#000000##000000
##2F80CA1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D84CD
Deuteranopia (green-blind)
#4676C9
Tritanopia (blue-blind)
#00929B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f80ca;
/* rgb */ color: rgb(47, 128, 202);
/* oklch */ color: oklch(58.7% 0.137 249.8);
Tailwind
colors: {
  custom: {
    50: '#7da4da',
    500: '#2f80ca',
    950: '#000000',
  },
}
SCSS
$custom: #2f80ca;
$custom-light: #7da4da;
$custom-dark: #000000;
JSON
{
  "hex": "#2f80ca",
  "rgb": {
    "r": 47,
    "g": 128,
    "b": 202
  },
  "hsl": {
    "h": 208.645,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58712,
    "c": 0.13743,
    "h": 249.8
  },
  "luminance": 0.20307
}

Semantic roles & 50–950 ramp

primary
#2F80CA
secondary
#CFA986
accent
#9042E5
background
#F8FAFD
surface
#EFF3FB
border
#CACDD4
text
#0B0F15
muted
#7C7F83

Preview Lab

Preview with #2F80CA

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

Preview Lab → · Contrast checker → · Palette generator →

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