#2F78B9#2F78B9

#2F78B9 is a mid, vivid cyan. Relative luminance 0.175; OKLCH L 55.9% C 0.124 H 248.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2F78B9
RGBrgb(47, 120, 185)
HSLhsl(208, 59%, 45%)
HSVhsv(208, 75%, 73%)
CMYKcmyk(74.6%, 35.1%, 0%, 27.5%)
CIE-LABlab(48.93, -0.15, -40.68)
CIE-LCHlch(48.93, 40.68, 269.79°)
OKLaboklab(55.87% -0.0447 -0.1157)
OKLCHoklch(55.87% 0.124 248.9)
XYZxyz(16.6424, 17.5382, 48.3976)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F78B9 #B9702F
analogous
#2FB9B5 #2F78B9 #2F33B9
triadic
#2F78B9 #B92F78 #78B92F
tetradic
#2F78B9 #B52FB9 #B9702F #33B92F
square
#2F78B9 #B52FB9 #B9702F #33B92F
split-complementary
#2F78B9 #B92F33 #B9B52F
monochromatic
#163957 #235888 #2F78B9 #5296D3 #83B4DF

Accessibility & contrast

On white

4.66
#2F78B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#2F78B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F78B9
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F78B9#FFFFFF#000000##FFFFFF
##2F78B91.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A7BBC
Deuteranopia (green-blind)
#466EB8
Tritanopia (blue-blind)
#008790
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f78b9;
/* rgb */ color: rgb(47, 120, 185);
/* oklch */ color: oklch(55.9% 0.124 248.9);
Tailwind
colors: {
  custom: {
    50: '#7a9ece',
    500: '#2f78b9',
    950: '#000000',
  },
}
SCSS
$custom: #2f78b9;
$custom-light: #7a9ece;
$custom-dark: #000000;
JSON
{
  "hex": "#2f78b9",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 185
  },
  "hsl": {
    "h": 208.261,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.5587,
    "c": 0.12399,
    "h": 248.9
  },
  "luminance": 0.1754
}

Semantic roles & 50–950 ramp

primary
#2F78B9
secondary
#C9A07B
accent
#8F45E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #2F78B9

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

Preview Lab → · Contrast checker → · Palette generator →

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