#2F78B3#2F78B3

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

Color values

HEX#2F78B3
RGBrgb(47, 120, 179)
HSLhsl(207, 58%, 44%)
HSVhsv(207, 74%, 70%)
CMYKcmyk(73.7%, 33%, 0%, 29.8%)
CIE-LABlab(48.62, -2.34, -37.70)
CIE-LCHlch(48.62, 37.77, 266.44°)
OKLaboklab(55.53% -0.0464 -0.1069)
OKLCHoklch(55.53% 0.117 246.5)
XYZxyz(16.0223, 17.2901, 45.1320)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F78B3 #B36A2F
analogous
#2FB3AC #2F78B3 #2F36B3
triadic
#2F78B3 #B32F78 #78B32F
tetradic
#2F78B3 #AC2FB3 #B36A2F #36B32F
square
#2F78B3 #AC2FB3 #B36A2F #36B32F
split-complementary
#2F78B3 #B32F36 #B3AC2F
monochromatic
#163752 #225883 #2F78B3 #4F97D1 #7FB3DD

Accessibility & contrast

On white

4.71
#2F78B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#2F78B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F78B3
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F78B3#FFFFFF#000000##FFFFFF
##2F78B31.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f78b3;
/* rgb */ color: rgb(47, 120, 179);
/* oklch */ color: oklch(55.5% 0.117 246.5);
Tailwind
colors: {
  custom: {
    50: '#799eca',
    500: '#2f78b3',
    950: '#000000',
  },
}
SCSS
$custom: #2f78b3;
$custom-light: #799eca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f78b3",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 179
  },
  "hsl": {
    "h": 206.818,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55528,
    "c": 0.11658,
    "h": 246.5
  },
  "luminance": 0.17292
}

Semantic roles & 50–950 ramp

primary
#2F78B3
secondary
#C69B78
accent
#8C46E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2F78B3

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

Preview Lab → · Contrast checker → · Palette generator →

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