#2F78AE#2F78AE

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

Color values

HEX#2F78AE
RGBrgb(47, 120, 174)
HSLhsl(206, 57%, 43%)
HSVhsv(206, 73%, 68%)
CMYKcmyk(73%, 31%, 0%, 31.8%)
CIE-LABlab(48.38, -4.16, -35.19)
CIE-LCHlch(48.38, 35.44, 263.26°)
OKLaboklab(55.25% -0.0479 -0.0996)
OKLCHoklch(55.25% 0.111 244.3)
XYZxyz(15.5258, 17.0915, 42.5169)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F78AE #AE652F
analogous
#2FAEA4 #2F78AE #2F38AE
triadic
#2F78AE #AE2F78 #78AE2F
tetradic
#2F78AE #A42FAE #AE652F #38AE2F
square
#2F78AE #A42FAE #AE652F #38AE2F
split-complementary
#2F78AE #AE2F38 #AEA42F
monochromatic
#15364E #22577E #2F78AE #4C97CF #7CB3DC

Accessibility & contrast

On white

4.75
#2F78AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#2F78AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F78AE
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F78AE#FFFFFF#000000##FFFFFF
##2F78AE1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F7AB0
Deuteranopia (green-blind)
#4E6DAD
Tritanopia (blue-blind)
#00858B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f78ae;
/* rgb */ color: rgb(47, 120, 174);
/* oklch */ color: oklch(55.3% 0.111 244.3);
Tailwind
colors: {
  custom: {
    50: '#789ec6',
    500: '#2f78ae',
    950: '#000000',
  },
}
SCSS
$custom: #2f78ae;
$custom-light: #789ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f78ae",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 174
  },
  "hsl": {
    "h": 205.512,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5525,
    "c": 0.11055,
    "h": 244.3
  },
  "luminance": 0.17093
}

Semantic roles & 50–950 ramp

primary
#2F78AE
secondary
#C49675
accent
#8847E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2F78AE

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

Preview Lab → · Contrast checker → · Palette generator →

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