#2F78BE#2F78BE

#2F78BE is a mid, vivid cyan. Relative luminance 0.178; OKLCH L 56.2% C 0.130 H 250.6°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2F78BE
RGBrgb(47, 120, 190)
HSLhsl(209, 60%, 46%)
HSVhsv(209, 75%, 75%)
CMYKcmyk(75.3%, 36.8%, 0%, 25.5%)
CIE-LABlab(49.20, 1.69, -43.15)
CIE-LCHlch(49.20, 43.18, 272.24°)
OKLaboklab(56.16% -0.0433 -0.1229)
OKLCHoklch(56.16% 0.13 250.6)
XYZxyz(17.1795, 17.7530, 51.2265)
Luminance0.1776 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F78BE #BE752F
analogous
#2FBEBD #2F78BE #2F30BE
triadic
#2F78BE #BE2F78 #78BE2F
tetradic
#2F78BE #BD2FBE #BE752F #30BE2F
square
#2F78BE #BD2FBE #BE752F #30BE2F
split-complementary
#2F78BE #BE2F30 #BEBD2F
monochromatic
#173A5C #23598D #2F78BE #5596D5 #86B5E1

Accessibility & contrast

On white

4.61
#2F78BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#2F78BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F78BE
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F78BE#FFFFFF#000000##FFFFFF
##2F78BE1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#587CC1
Deuteranopia (green-blind)
#426FBD
Tritanopia (blue-blind)
#008992
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f78be;
/* rgb */ color: rgb(47, 120, 190);
/* oklch */ color: oklch(56.2% 0.130 250.6);
Tailwind
colors: {
  custom: {
    50: '#7b9ed2',
    500: '#2f78be',
    950: '#000000',
  },
}
SCSS
$custom: #2f78be;
$custom-light: #7b9ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f78be",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 190
  },
  "hsl": {
    "h": 209.371,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56163,
    "c": 0.13029,
    "h": 250.6
  },
  "luminance": 0.17755
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F78BE

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

Preview Lab → · Contrast checker → · Palette generator →

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