#2F78C8#2F78C8

#2F78C8 is a mid, vivid cyan. Relative luminance 0.182; OKLCH L 56.8% C 0.143 H 253.4°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2F78C8
RGBrgb(47, 120, 200)
HSLhsl(211, 62%, 48%)
HSVhsv(211, 77%, 78%)
CMYKcmyk(76.5%, 40%, 0%, 21.6%)
CIE-LABlab(49.74, 5.39, -48.01)
CIE-LCHlch(49.74, 48.31, 276.41°)
OKLaboklab(56.77% -0.0409 -0.1371)
OKLCHoklch(56.77% 0.143 253.4)
XYZxyz(18.3102, 18.2053, 57.1813)
Luminance0.1821 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F78C8 #C87F2F
analogous
#2FC4C8 #2F78C8 #332FC8
triadic
#2F78C8 #C82F78 #78C82F
tetradic
#2F78C8 #C82FC4 #C87F2F #2FC833
square
#2F78C8 #C82FC4 #C87F2F #2FC833
split-complementary
#2F78C8 #C8332F #C4C82F
monochromatic
#183D65 #235A96 #2F78C8 #5C97D9 #8DB7E4

Accessibility & contrast

On white

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

On black

4.64
#2F78C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F78C8
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F78C8#FFFFFF#000000##000000
##2F78C81.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#527ECB
Deuteranopia (green-blind)
#3970C6
Tritanopia (blue-blind)
#008B96
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2f78c8;
/* rgb */ color: rgb(47, 120, 200);
/* oklch */ color: oklch(56.8% 0.143 253.4);
Tailwind
colors: {
  custom: {
    50: '#7d9ed9',
    500: '#2f78c8',
    950: '#000000',
  },
}
SCSS
$custom: #2f78c8;
$custom-light: #7d9ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f78c8",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 200
  },
  "hsl": {
    "h": 211.373,
    "s": 61.943,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56771,
    "c": 0.14309,
    "h": 253.4
  },
  "luminance": 0.18207
}

Semantic roles & 50–950 ramp

primary
#2F78C8
secondary
#CFAB84
accent
#9843E5
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2F78C8

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

Preview Lab → · Contrast checker → · Palette generator →

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