#2F84CA#2F84CA

#2F84CA is a mid, vivid cyan. Relative luminance 0.214; OKLCH L 59.6% C 0.134 H 247.5°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#2F84CA
RGBrgb(47, 132, 202)
HSLhsl(207, 62%, 49%)
HSVhsv(207, 77%, 79%)
CMYKcmyk(76.7%, 34.7%, 0%, 20.8%)
CIE-LABlab(53.35, -1.13, -43.42)
CIE-LCHlch(53.35, 43.43, 268.50°)
OKLaboklab(59.63% -0.0511 -0.1235)
OKLCHoklch(59.63% 0.134 247.5)
XYZxyz(20.0801, 21.3688, 58.9319)
Luminance0.2137 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F84CA #CA752F
analogous
#2FCAC3 #2F84CA #2F36CA
triadic
#2F84CA #CA2F84 #84CA2F
tetradic
#2F84CA #C32FCA #CA752F #36CA2F
square
#2F84CA #C32FCA #CA752F #36CA2F
split-complementary
#2F84CA #CA2F36 #CAC32F
monochromatic
#184367 #236498 #2F84CA #5DA1D9 #8FBEE5

Accessibility & contrast

On white

3.98
#2F84CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#2F84CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F84CA
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F84CA#FFFFFF#000000##000000
##2F84CA1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6487CD
Deuteranopia (green-blind)
#4D79C9
Tritanopia (blue-blind)
#00959D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2f84ca;
/* rgb */ color: rgb(47, 132, 202);
/* oklch */ color: oklch(59.6% 0.134 247.5);
Tailwind
colors: {
  custom: {
    50: '#7da7da',
    500: '#2f84ca',
    950: '#000000',
  },
}
SCSS
$custom: #2f84ca;
$custom-light: #7da7da;
$custom-dark: #000000;
JSON
{
  "hex": "#2f84ca",
  "rgb": {
    "r": 47,
    "g": 132,
    "b": 202
  },
  "hsl": {
    "h": 207.097,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59631,
    "c": 0.13362,
    "h": 247.5
  },
  "luminance": 0.21371
}

Semantic roles & 50–950 ramp

primary
#2F84CA
secondary
#CFA786
accent
#8C42E5
background
#F8FAFD
surface
#EFF4FB
border
#CACED4
text
#0B0F15
muted
#7C7F83

Preview Lab

Preview with #2F84CA

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

Preview Lab → · Contrast checker → · Palette generator →

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