#2F78AF#2F78AF

#2F78AF is a mid, moderate cyan. Relative luminance 0.171; OKLCH L 55.3% C 0.112 H 244.8°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2F78AF
RGBrgb(47, 120, 175)
HSLhsl(206, 58%, 44%)
HSVhsv(206, 73%, 69%)
CMYKcmyk(73.1%, 31.4%, 0%, 31.4%)
CIE-LABlab(48.42, -3.80, -35.70)
CIE-LCHlch(48.42, 35.90, 263.93°)
OKLaboklab(55.31% -0.0476 -0.1011)
OKLCHoklch(55.31% 0.112 244.8)
XYZxyz(15.6237, 17.1307, 43.0323)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F78AF #AF662F
analogous
#2FAFA6 #2F78AF #2F38AF
triadic
#2F78AF #AF2F78 #78AF2F
tetradic
#2F78AF #A62FAF #AF662F #38AF2F
square
#2F78AF #A62FAF #AF662F #38AF2F
split-complementary
#2F78AF #AF2F38 #AFA62F
monochromatic
#15364F #22577F #2F78AF #4C97CF #7CB3DC

Accessibility & contrast

On white

4.74
#2F78AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#2F78AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F78AF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F78AF#FFFFFF#000000##FFFFFF
##2F78AF1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F7AB1
Deuteranopia (green-blind)
#4D6EAE
Tritanopia (blue-blind)
#00858C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f78af;
/* rgb */ color: rgb(47, 120, 175);
/* oklch */ color: oklch(55.3% 0.112 244.8);
Tailwind
colors: {
  custom: {
    50: '#789ec7',
    500: '#2f78af',
    950: '#000000',
  },
}
SCSS
$custom: #2f78af;
$custom-light: #789ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f78af",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 175
  },
  "hsl": {
    "h": 205.781,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55305,
    "c": 0.11175,
    "h": 244.8
  },
  "luminance": 0.17132
}

Semantic roles & 50–950 ramp

primary
#2F78AF
secondary
#C49775
accent
#8947E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2F78AF

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

Preview Lab → · Contrast checker → · Palette generator →

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