#2F78C9#2F78C9

#2F78C9 is a mid, vivid cyan. Relative luminance 0.183; OKLCH L 56.8% C 0.144 H 253.6°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#2F78C9
RGBrgb(47, 120, 201)
HSLhsl(212, 62%, 49%)
HSVhsv(212, 77%, 79%)
CMYKcmyk(76.6%, 40.3%, 0%, 21.2%)
CIE-LABlab(49.80, 5.76, -48.49)
CIE-LCHlch(49.80, 48.83, 276.78°)
OKLaboklab(56.83% -0.0407 -0.1385)
OKLCHoklch(56.83% 0.144 253.6)
XYZxyz(18.4274, 18.2522, 57.7988)
Luminance0.1825 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F78C9 #C9802F
analogous
#2FC5C9 #2F78C9 #332FC9
triadic
#2F78C9 #C92F78 #78C92F
tetradic
#2F78C9 #C92FC5 #C9802F #2FC933
square
#2F78C9 #C92FC5 #C9802F #2FC933
split-complementary
#2F78C9 #C9332F #C5C92F
monochromatic
#183D66 #235A97 #2F78C9 #5C97D9 #8EB7E5

Accessibility & contrast

On white

4.52
#2F78C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#2F78C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F78C9
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F78C9#FFFFFF#000000##000000
##2F78C91.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#517ECC
Deuteranopia (green-blind)
#3870C7
Tritanopia (blue-blind)
#008B97
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f78c9;
/* rgb */ color: rgb(47, 120, 201);
/* oklch */ color: oklch(56.8% 0.144 253.6);
Tailwind
colors: {
  custom: {
    50: '#7d9eda',
    500: '#2f78c9',
    950: '#000000',
  },
}
SCSS
$custom: #2f78c9;
$custom-light: #7d9eda;
$custom-dark: #000000;
JSON
{
  "hex": "#2f78c9",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 201
  },
  "hsl": {
    "h": 211.558,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56833,
    "c": 0.14438,
    "h": 253.6
  },
  "luminance": 0.18254
}

Semantic roles & 50–950 ramp

primary
#2F78C9
secondary
#CFAC85
accent
#9843E5
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2F78C9

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

Preview Lab → · Contrast checker → · Palette generator →

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