#2F78BB#2F78BB

#2F78BB is a mid, vivid cyan. Relative luminance 0.176; OKLCH L 56.0% C 0.127 H 249.6°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2F78BB
RGBrgb(47, 120, 187)
HSLhsl(209, 60%, 46%)
HSVhsv(209, 75%, 73%)
CMYKcmyk(74.9%, 35.8%, 0%, 26.7%)
CIE-LABlab(49.04, 0.58, -41.67)
CIE-LCHlch(49.04, 41.68, 270.80°)
OKLaboklab(55.99% -0.0441 -0.1185)
OKLCHoklch(55.99% 0.127 249.6)
XYZxyz(16.8550, 17.6232, 49.5174)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F78BB #BB722F
analogous
#2FBBB8 #2F78BB #2F32BB
triadic
#2F78BB #BB2F78 #78BB2F
tetradic
#2F78BB #B82FBB #BB722F #32BB2F
square
#2F78BB #B82FBB #BB722F #32BB2F
split-complementary
#2F78BB #BB2F32 #BBB82F
monochromatic
#163959 #23598A #2F78BB #5396D4 #84B4E0

Accessibility & contrast

On white

4.64
#2F78BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#2F78BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F78BB
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F78BB#FFFFFF#000000##FFFFFF
##2F78BB1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#597CBE
Deuteranopia (green-blind)
#456FBA
Tritanopia (blue-blind)
#008890
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f78bb;
/* rgb */ color: rgb(47, 120, 187);
/* oklch */ color: oklch(56.0% 0.127 249.6);
Tailwind
colors: {
  custom: {
    50: '#7a9ed0',
    500: '#2f78bb',
    950: '#000000',
  },
}
SCSS
$custom: #2f78bb;
$custom-light: #7a9ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f78bb",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 187
  },
  "hsl": {
    "h": 208.714,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55987,
    "c": 0.1265,
    "h": 249.6
  },
  "luminance": 0.17625
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F78BB

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

Preview Lab → · Contrast checker → · Palette generator →

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