#2F78B2#2F78B2

#2F78B2 is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.5% C 0.115 H 246.1°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#2F78B2
RGBrgb(47, 120, 178)
HSLhsl(207, 58%, 44%)
HSVhsv(207, 74%, 70%)
CMYKcmyk(73.6%, 32.6%, 0%, 30.2%)
CIE-LABlab(48.57, -2.71, -37.20)
CIE-LCHlch(48.57, 37.30, 265.84°)
OKLaboklab(55.47% -0.0467 -0.1055)
OKLCHoklch(55.47% 0.115 246.1)
XYZxyz(15.9216, 17.2498, 44.6013)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F78B2 #B2692F
analogous
#2FB2AB #2F78B2 #2F37B2
triadic
#2F78B2 #B22F78 #78B22F
tetradic
#2F78B2 #AB2FB2 #B2692F #37B22F
square
#2F78B2 #AB2FB2 #B2692F #37B22F
split-complementary
#2F78B2 #B22F37 #B2AB2F
monochromatic
#153751 #225782 #2F78B2 #4E97D0 #7EB3DD

Accessibility & contrast

On white

4.72
#2F78B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#2F78B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F78B2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F78B2#FFFFFF#000000##FFFFFF
##2F78B21.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E7AB4
Deuteranopia (green-blind)
#4B6EB1
Tritanopia (blue-blind)
#00868D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f78b2;
/* rgb */ color: rgb(47, 120, 178);
/* oklch */ color: oklch(55.5% 0.115 246.1);
Tailwind
colors: {
  custom: {
    50: '#799ec9',
    500: '#2f78b2',
    950: '#000000',
  },
}
SCSS
$custom: #2f78b2;
$custom-light: #799ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f78b2",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 178
  },
  "hsl": {
    "h": 206.565,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55471,
    "c": 0.11536,
    "h": 246.1
  },
  "luminance": 0.17252
}

Semantic roles & 50–950 ramp

primary
#2F78B2
secondary
#C69A77
accent
#8B46E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2F78B2

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

Preview Lab → · Contrast checker → · Palette generator →

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