#2F78BD#2F78BD

#2F78BD is a mid, vivid cyan. Relative luminance 0.177; OKLCH L 56.1% C 0.129 H 250.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2F78BD
RGBrgb(47, 120, 189)
HSLhsl(209, 60%, 46%)
HSVhsv(209, 75%, 74%)
CMYKcmyk(75.1%, 36.5%, 0%, 25.9%)
CIE-LABlab(49.14, 1.32, -42.66)
CIE-LCHlch(49.14, 42.68, 271.77°)
OKLaboklab(56.1% -0.0436 -0.1214)
OKLCHoklch(56.1% 0.129 250.2)
XYZxyz(17.0706, 17.7094, 50.6528)
Luminance0.1771 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F78BD #BD742F
analogous
#2FBDBB #2F78BD #2F31BD
triadic
#2F78BD #BD2F78 #78BD2F
tetradic
#2F78BD #BB2FBD #BD742F #31BD2F
square
#2F78BD #BB2FBD #BD742F #31BD2F
split-complementary
#2F78BD #BD2F31 #BDBB2F
monochromatic
#173A5B #23598C #2F78BD #5596D5 #86B4E1

Accessibility & contrast

On white

4.62
#2F78BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#2F78BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F78BD
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F78BD#FFFFFF#000000##FFFFFF
##2F78BD1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#587CC0
Deuteranopia (green-blind)
#436FBC
Tritanopia (blue-blind)
#008891
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f78bd;
/* rgb */ color: rgb(47, 120, 189);
/* oklch */ color: oklch(56.1% 0.129 250.2);
Tailwind
colors: {
  custom: {
    50: '#7b9ed1',
    500: '#2f78bd',
    950: '#000000',
  },
}
SCSS
$custom: #2f78bd;
$custom-light: #7b9ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f78bd",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 189
  },
  "hsl": {
    "h": 209.155,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56104,
    "c": 0.12902,
    "h": 250.2
  },
  "luminance": 0.17711
}

Semantic roles & 50–950 ramp

primary
#2F78BD
secondary
#CAA37E
accent
#9244E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #2F78BD

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

Preview Lab → · Contrast checker → · Palette generator →

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