#2F78C5#2F78C5

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

Color values

HEX#2F78C5
RGBrgb(47, 120, 197)
HSLhsl(211, 61%, 48%)
HSVhsv(211, 76%, 77%)
CMYKcmyk(76.1%, 39.1%, 0%, 22.7%)
CIE-LABlab(49.58, 4.28, -46.56)
CIE-LCHlch(49.58, 46.75, 275.25°)
OKLaboklab(56.59% -0.0416 -0.1329)
OKLCHoklch(56.59% 0.139 252.6)
XYZxyz(17.9630, 18.0664, 55.3529)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F78C5 #C57C2F
analogous
#2FC3C5 #2F78C5 #312FC5
triadic
#2F78C5 #C52F78 #78C52F
tetradic
#2F78C5 #C52FC3 #C57C2F #2FC531
square
#2F78C5 #C52FC3 #C57C2F #2FC531
split-complementary
#2F78C5 #C5312F #C3C52F
monochromatic
#173C62 #235A94 #2F78C5 #5A97D8 #8BB6E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F78C5#FFFFFF#000000##000000
##2F78C51.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)
#547DC8
Deuteranopia (green-blind)
#3C70C3
Tritanopia (blue-blind)
#008A95
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f78c5;
/* rgb */ color: rgb(47, 120, 197);
/* oklch */ color: oklch(56.6% 0.139 252.6);
Tailwind
colors: {
  custom: {
    50: '#7c9ed7',
    500: '#2f78c5',
    950: '#000000',
  },
}
SCSS
$custom: #2f78c5;
$custom-light: #7c9ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f78c5",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 197
  },
  "hsl": {
    "h": 210.8,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56586,
    "c": 0.13923,
    "h": 252.6
  },
  "luminance": 0.18068
}

Semantic roles & 50–950 ramp

primary
#2F78C5
secondary
#CDA982
accent
#9643E5
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #2F78C5

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

Preview Lab → · Contrast checker → · Palette generator →

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