#2F78BC#2F78BC

#2F78BC is a mid, vivid cyan. Relative luminance 0.177; OKLCH L 56.0% C 0.128 H 249.9°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2F78BC
RGBrgb(47, 120, 188)
HSLhsl(209, 60%, 46%)
HSVhsv(209, 75%, 74%)
CMYKcmyk(75%, 36.2%, 0%, 26.3%)
CIE-LABlab(49.09, 0.95, -42.16)
CIE-LCHlch(49.09, 42.17, 271.29°)
OKLaboklab(56.05% -0.0439 -0.12)
OKLCHoklch(56.05% 0.128 249.9)
XYZxyz(16.9624, 17.6662, 50.0831)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F78BC #BC732F
analogous
#2FBCB9 #2F78BC #2F31BC
triadic
#2F78BC #BC2F78 #78BC2F
tetradic
#2F78BC #B92FBC #BC732F #31BC2F
square
#2F78BC #B92FBC #BC732F #31BC2F
split-complementary
#2F78BC #BC2F31 #BCB92F
monochromatic
#17395A #23598B #2F78BC #5496D4 #85B4E0

Accessibility & contrast

On white

4.63
#2F78BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#2F78BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F78BC
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F78BC#FFFFFF#000000##FFFFFF
##2F78BC1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#597CBF
Deuteranopia (green-blind)
#446FBB
Tritanopia (blue-blind)
#008891
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f78bc;
/* rgb */ color: rgb(47, 120, 188);
/* oklch */ color: oklch(56.0% 0.128 249.9);
Tailwind
colors: {
  custom: {
    50: '#7b9ed0',
    500: '#2f78bc',
    950: '#000000',
  },
}
SCSS
$custom: #2f78bc;
$custom-light: #7b9ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f78bc",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 188
  },
  "hsl": {
    "h": 208.936,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56045,
    "c": 0.12776,
    "h": 249.9
  },
  "luminance": 0.17668
}

Semantic roles & 50–950 ramp

primary
#2F78BC
secondary
#CAA27D
accent
#9145E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #2F78BC

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

Preview Lab → · Contrast checker → · Palette generator →

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